[Ffmpeg-devel] [PATCH] http.c: http_connect() memleak

Hervé W. H.O.W.aka.V+ffmpeg
Tue Jul 18 16:15:07 CEST 2006


On 18/07/06, I. Po <yyymmmm at gmail.com> wrote:
> On 7/18/06, Michael Niedermayer <michaelni at gmx.at> wrote:
> >
> > patch ok if you use av_freep() and drop the NULL check
> >
> >
>
> As I know, null-free is safe only from C99, but corrected the patch.
>

av_freep() calls av_free() which checks for NULL for you.

-V




More information about the ffmpeg-devel mailing list