[cairo] freeing NULL

Jeff Muizelaar jeff at infidigm.net
Thu Aug 5 11:27:27 PDT 2010


  Currently it seems as though cairo has a convention of not freeing 
NULL. I'm not sure what systems still do not allow freeing NULL, but I'd 
like to propose that we change our convention to allow freeing NULL. 
This allows for cleaner code and I'm not sure that we don't currently 
free(NULL) unintentionally.

Does anyone have any reasons why we shouldn't do this?

-Jeff


More information about the cairo mailing list