[FFmpeg-devel] [PATCH] avfilter/palettegen/RFC: fix mem leak
Clément Bœsch
u at pkh.me
Fri Feb 27 14:28:04 CET 2015
On Fri, Feb 27, 2015 at 12:50:23PM +0100, Nicolas George wrote:
> 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.
>
...
I feel really dumb. Thank you. Fix pushed.
> Regards,
>
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150227/d20263be/attachment.asc>
More information about the ffmpeg-devel
mailing list