diff options
-rw-r--r-- | stream/realrtsp/sdpplin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/realrtsp/sdpplin.c b/stream/realrtsp/sdpplin.c index 862fe0dbfb..dfab829cee 100644 --- a/stream/realrtsp/sdpplin.c +++ b/stream/realrtsp/sdpplin.c @@ -375,9 +375,12 @@ void sdpplin_free(sdpplin_t *description) { free(description->stream[i]->mlti_data); if (description->stream[i]->asm_rule_book) free(description->stream[i]->asm_rule_book); + free(description->stream[i]); } } + if(description->stream_count) + free(description->stream); if (description->title) free(description->title); if (description->author) |