diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-12-28 23:23:59 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-12-28 23:23:59 +0000 |
commit | c49a3ec30aaa8042335656982054f02847c03aae (patch) | |
tree | c2c6d193ae76170edd4906de2547bbbec518c8ac /libavformat/rmdec.c | |
parent | 133e5c40265682db10ed42b75a6e179378012f03 (diff) | |
download | ffmpeg-c49a3ec30aaa8042335656982054f02847c03aae.tar.gz |
Fix double free which happens for playback of .rm files after r16365. See
"rmdec.c: double free" discussion on mailinglist, patch with suggestions
from Reimar Doffinger.
Originally committed as revision 16378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index e8ecc927d1..01e335be06 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -83,7 +83,6 @@ void ff_rm_free_rmstream (RMStream *rms) { av_free(rms->videobuf); av_free(rms->audiobuf); - av_free(rms); } static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb, |