Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.