[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg: fix memory leak issue.

Nicolas George george at nsup.org
Thu Jun 14 16:44:39 EEST 2018


Jun Zhao (2018-06-13):
> need to call av_bprint_finalize to free the memory source to match
> av_bprint_init.

As you may have seen, in this case too, the buffer is never allocated
dynamically.

The av_bprint_finalize() already present is thus useless (I think the
mistake is mine), but not harmful either.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180614/a7a077ca/attachment.sig>


More information about the ffmpeg-devel mailing list