[vlc-devel] Re: [PATCH] - fix frees w/out NULLs

Pierre d'Herbemont pdherbemont at free.fr
Fri Jun 8 15:40:53 CEST 2007


On 8 juin 07, at 15:26, Andrew Stone wrote:

> So we could have a policy that you set the pointer to NULL *only*  
> if it may be used again.

Well, the policy is more to make sure not to reuse a freed pointer.  
Sometimes you do that by free()ing and setting to NULL, some other  
you don't.

Pierre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070608/189603e0/attachment.html>


More information about the vlc-devel mailing list