diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-09-02 10:44:26 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-09-02 10:44:26 +0000 |
commit | ac11b35a6a90fd121fb51ac4b808523f7dc7871a (patch) | |
tree | e5f5d4cb292516843e696927ae0979ac05a7ccfd /stream/realrtsp | |
parent | 70a247b26dac9e2153b62b8aab78799cd2996af6 (diff) | |
download | mpv-ac11b35a6a90fd121fb51ac4b808523f7dc7871a.tar.bz2 mpv-ac11b35a6a90fd121fb51ac4b808523f7dc7871a.tar.xz |
Fix several more rtsp-related memleaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29625 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/realrtsp')
-rw-r--r-- | stream/realrtsp/real.c | 2 | ||||
-rw-r--r-- | stream/realrtsp/sdpplin.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/stream/realrtsp/real.c b/stream/realrtsp/real.c index a5b37f6e34..29c88335be 100644 --- a/stream/realrtsp/real.c +++ b/stream/realrtsp/real.c @@ -249,7 +249,7 @@ static rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t b if (!desc->stream[i]->mlti_data) { len = 0; - buf = NULL; + buf = xbuffer_free(buf); } else len=select_mlti_data(desc->stream[i]->mlti_data, desc->stream[i]->mlti_data_size, rulematches[0], &buf); diff --git a/stream/realrtsp/sdpplin.c b/stream/realrtsp/sdpplin.c index c4104fb00c..9669b085fd 100644 --- a/stream/realrtsp/sdpplin.c +++ b/stream/realrtsp/sdpplin.c @@ -376,6 +376,7 @@ 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]->id); free(description->stream[i]); } } |