[FFmpeg-cvslog] r24757 - trunk/libavformat/utils.c
cehoyos
subversion
Tue Aug 10 19:27:22 CEST 2010
Author: cehoyos
Date: Tue Aug 10 19:27:22 2010
New Revision: 24757
Log:
Fix mem leak when trying to open a non-existing image file.
Patch by Przemys?aw Sobala, psobala wp-sa pl
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c Tue Aug 10 18:49:48 2010 (r24756)
+++ trunk/libavformat/utils.c Tue Aug 10 19:27:22 2010 (r24757)
@@ -474,6 +474,7 @@ int av_open_input_stream(AVFormatContext
if (st) {
av_free(st->priv_data);
av_free(st->codec->extradata);
+ av_free(st->codec);
}
av_free(st);
}
More information about the ffmpeg-cvslog
mailing list