[vlc-devel] commit: Don't use FREENULL when that's not needed and don' t free NULL just for fun. ( Rémi Duraffort )
Laurent Aimar
fenrir at via.ecp.fr
Wed Sep 17 20:38:51 CEST 2008
On Wed, Sep 17, 2008, Bill C. Riemers 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).
VLC does assume that free(NULL) is valid.
If it is not the case on one specific platform it will be easy to add a small
'free' wrapper that will do the job.
--
fenrir
More information about the vlc-devel
mailing list