[vlc-devel] Re: [PATCH] Allow configuration of JACK connections
jon_p_griffiths at yahoo.com
Fri Apr 13 11:41:24 CEST 2007
> If you follow that logic to its end, you don't need to check for
> non-null-ity before invoking free() since free(NULL) is a no-op.
Thats true, but only on conforming systems
I prefer to check: since its an error path efficiency isn't
important, and if VLC gets ported to some device with a
non-conforming libc, nothing breaks. I would expect gcc should be
able to remove the test when optimising, but a quick test shows it
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel