diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-07-16 10:56:40 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-07-16 10:56:40 +0000 |
commit | e2e2e7dd70db2b1643041853ce7472257814524e (patch) | |
tree | 4b55e4ea4d984c5ed3f62ce5abdf1f8c802a80a3 | |
parent | 4508af2daab5d70be6d019816508075719b0cce7 (diff) | |
download | ffmpeg-e2e2e7dd70db2b1643041853ce7472257814524e.tar.gz |
.memleak fix by Ronald Bultje. OK'd by Luca.
Originally committed as revision 9697 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 2279e446fb..0e91e92eb7 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -814,6 +814,8 @@ static void rtsp_send_cmd(AVFormatContext *s, } if (content_ptr) *content_ptr = content; + else + av_free(content); } |