[FFmpeg-devel] [PATCH] qt-faststart: Remove unnecessary checks before calling free

Måns Rullgård mans
Sat May 1 13:07:29 CEST 2010


Martin Storsj? <martin at martin.st> writes:

> On Fri, 30 Apr 2010, Frank Barchard wrote:
>
>> 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.
>
> Hmm, ok. Out of curiosity, what systems do we support where free(NULL) 
> isn't ok?

None.  I have never seen such a system.  They are a myth perpetrated
by people who like justifying extraneous if statements.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list