On Wed, 2011-11-16 at 21:05 -0500, Andrew Douglas Pitonyak wrote:

> Setting a pointer to NULL after deleting the contents of the pointer is 
> safe so that if you go to delete it again it is not a problem.

Safe if the variable that holds the pointer is likely to be accessed
again.  If not, it's pointless to set the pointer value to NULL after
delete.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to