Commit cdfe259e authored by rbultje's avatar rbultje

av_free() -> av_freep(), patch by Reimar Doffinger, see discussion in

"rmdec.c: double free" thread on mailinglist.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16379 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f8680460
...@@ -81,8 +81,8 @@ RMStream *ff_rm_alloc_rmstream (void) ...@@ -81,8 +81,8 @@ RMStream *ff_rm_alloc_rmstream (void)
void ff_rm_free_rmstream (RMStream *rms) void ff_rm_free_rmstream (RMStream *rms)
{ {
av_free(rms->videobuf); av_freep(&rms->videobuf);
av_free(rms->audiobuf); av_freep(&rms->audiobuf);
} }
static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb, static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment