On Fri, Jun 12, 2015 at 10:01 PM, Michael Meskes <mes...@postgresql.org> wrote: > On Mon, Jun 08, 2015 at 10:50:25PM +0900, Michael Paquier wrote: > Right, that's because they were developed before free received the safeguard, > or the programmer simply didn't know at that point in time. Unless I'm > mistaken we have other code that only calls free() without an additional > safeguard, so why shuld ecpglib be special? If you don't like it using both > approaches, feel free to remove the check in the other case. :)
Well, I can send patches... > More seriously, though, does anyone know of any platform where free(NULL) is > *not* a noop? I recall reading that some past versions of SunOS crashed, but it is rather old... -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers