Re: not checking value returned from palloc? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: not checking value returned from palloc?
Date
Msg-id 23703.1142804420@sss.pgh.pa.us
Whole thread Raw
In response to not checking value returned from palloc?  (Mark Dilger <pgsql@markdilger.com>)
List pgsql-hackers
Mark Dilger <pgsql@markdilger.com> writes:
> Looking through the postgresql source code, I notice that there are many places 
> were palloc is used but the return value is not checked to see if it is null. 
Any place that *does* check it is incorrect (in the sense of being
wasted code space, not functionally incorrect).  Please read the memmgr
documentation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: not checking value returned from palloc?
Next
From: Mark Dilger
Date:
Subject: Re: not checking value returned from palloc?