[FFmpeg-devel] [PATCH] qt-faststart: Remove unnecessary checks before calling free
Frank Barchard
fbarchard
Fri Apr 30 20:25:20 CEST 2010
On Fri, Apr 30, 2010 at 11:16 AM, Baptiste Coudurier <
baptiste.coudurier at gmail.com> wrote:
> On 04/30/2010 03:39 AM, Martin Storsj? wrote:
>
>> Hi,
>>
>> $subj
>>
>>
> Well I'd be ok, but I thought there were some systems that would not handle
> free(NULL) out there.
Agreed.
Its better to initialize ftyp_atom = NULL; and change the check to
if (ftyp_atom)
free(ftyp_atom);
More information about the ffmpeg-devel
mailing list