[FFmpeg-devel] [PATCH 5/7] fftools/ffmpeg: Fix leak of AVFilterInOut in case of error

Nicolas George george at nsup.org
Sun Aug 23 13:12:09 EEST 2020


Andreas Rheinhardt (12020-08-23):
> The AVFilterInOuts normally get freed in init_output_filter() when
> the corresponding streams get created; yet if an error happens before
> one reaches said point, they leak. Therefore this commit makes
> ffmpeg_cleanup free them, too.
> 
> Fixes ticket #8267.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  fftools/ffmpeg.c | 1 +
>  1 file changed, 1 insertion(+)

LGTM.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200823/68785490/attachment.sig>


More information about the ffmpeg-devel mailing list