[libdvdnav-devel] [RFC] Set free'd variables to NULL or not?

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 24 16:26:56 CEST 2014


On 24 Oct, Andrew Clayton wrote :
> I notice it is common practice in libdvdread to set free'd variables
> to NULL. There are of course arguments for and against.

What is the use of setting them to NULL?
Are they going to be reused and checked?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdnav-devel mailing list