[vlc-devel] commit: Don't use FREENULL when that's not needed and don' t free NULL just for fun. ( Rémi Duraffort )

Pierre d'Herbemont pdherbemont at free.fr
Wed Sep 17 20:36:41 CEST 2008


On Wed, Sep 17, 2008 at 8:27 PM, Bill C. Riemers <briemers at redhat.com> wrote:
> The reason for FREENULL is because not all platforms correctly ignore
> free(NULL).   I hope you are certain all the platforms VLC is built on
> do correctly handle free(NULL).

That would need a platform check as we expect that.

Note, here FREENULL(p) is free( p ); p = NULL;

Pierre.



More information about the vlc-devel mailing list