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

Andrew Stone stondage123 at yahoo.com
Thu Jun 7 23:11:57 CEST 2007


Hi All,

Here is a patch that goes through and sets a lot of pointers to NULL after they are freed. Please remember to do this, otherwise some nasty bugs can arise. It's much better to crash on a null pointer.

Note that I only took care of a few files here, there are still thousands more of these to be fixed.

Thanks,
Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070607/c160ecb2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nullpatch
Type: application/octet-stream
Size: 11189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070607/c160ecb2/attachment.obj>


More information about the vlc-devel mailing list