On 4 March 2011 14:50, Robert Haas <[email protected]> wrote: > I think that free(NULL) works on some platforms but not all. I don't > see what advantage we'd get out of making pfree(NULL) silently work, > and there's a clear disadvantage: it would remove a useful sanity > check.
I don't feel particularly strongly about what pfree() should do one way or the other, but that isn't so; free(NULL) works on all platforms, and is required to by the standard. -- Regards, Peter Geoghegan -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
