[FFmpeg-devel] [PATCH] avfilter/formats: fix leak of formats on error

Ganesh Ajjanagadde gajjanag at mit.edu
Thu Jan 7 17:38:14 CET 2016


On Wed, Jan 6, 2016 at 9:03 AM, Ganesh Ajjanagadde <gajjanag at mit.edu> wrote:
> On Wed, Jan 6, 2016 at 6:43 AM, Nicolas George <george at nsup.org> wrote:
>> Le septidi 17 nivôse, an CCXXIV, Michael Niedermayer a écrit :
>>> i think it would be better to libavfilter cleanup instead of each
>>> filter duplicating cleanup code.
>>
>> This is already done: allocated data that was successfully stored in the
>> structure is freed, in this instance in the free_link() function.
>
> Hmm, ok. Then maybe this does take care of the remaining issues. Will
> wait and check once this patch goes in.

Have not exhaustively checked, but some simple testing shows that this
patch does fix the issues. Thanks.

>
>>
>> Regards,
>>
>> --
>>   Nicolas George
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>


More information about the ffmpeg-devel mailing list