[FFmpeg-devel] [PATCH]Fix memleak if decoder init fails

Paul B Mahol onemda at gmail.com
Tue Mar 5 14:48:58 CET 2013


On 3/5/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Paul B Mahol <onemda <at> gmail.com> writes:
>
>> >> Both attached patches fix the memleak that happens if the decoder
>> >> initialisation fails, see ticket #1244 for an example.
>> >
>> > Ping.
>> >
>> > Sorry if both patches are plain wrong, I don't have another
>> > suggestion.
>>
>> Both are just wrong, as they fix leak for ffmpeg only.
>
> I wonder if that is correct, could you elaborate how
> this specific leak can be reproduced without ffmpeg?

any program that use lavc, even ffplay.

>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list