summaryrefslogtreecommitdiffstats
path: root/stream/realrtsp
diff options
context:
space:
mode:
authorrtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-01 22:49:13 +0000
committerrtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-01 22:49:13 +0000
commit8f46652d6dc7f621a199abdc97a29bee0dad5641 (patch)
tree15ca460c8404512721feb19b146a53d680f9540d /stream/realrtsp
parent538674f6b6cb8139885cf2c8a3d3b8d32b88bc12 (diff)
downloadmpv-8f46652d6dc7f621a199abdc97a29bee0dad5641.tar.bz2
mpv-8f46652d6dc7f621a199abdc97a29bee0dad5641.tar.xz
More free() that were forgotten in r21806 memleak fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21808 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/realrtsp')
-rw-r--r--stream/realrtsp/sdpplin.c3
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)