[FFmpeg-devel] [PATCH] avfilter/palettegen/RFC: fix mem leak

Nicolas George george at nsup.org
Fri Feb 27 12:50:23 CET 2015


Le nonidi 9 ventôse, an CCXXIII, Clement Boesch a écrit :
> I don't understand why I need to do that. The free is already present in
> the uninit, and before every update of the prev_frame update.

In uninit, I see:

    av_freep(&s->prev_frame);

I suspect it should be av_frame_free() instead.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150227/5782c451/attachment.asc>


More information about the ffmpeg-devel mailing list