[PATCH] Remove superfluous if(p!=NULL) checks around free(p); p=NULL;
Jonathan Morton
jonathan.morton at movial.com
Wed Nov 10 07:57:13 PST 2010
On Wed, 2010-11-10 at 10:57 -0500, Matt Turner wrote:
> I'm not so sure about this. Do you know for sure that nothing depends
> on setting the value of the freed pointer to NULL or 0 afterwards?
If the pointer is already NULL, surely setting it to NULL again is not a
problem?
--
------
From: Jonathan Morton
jonathan.morton at movial.com
More information about the xorg-devel
mailing list