Re: SetVariable - Mailing list pgsql-hackers

From Gaetano Mendola
Subject Re: SetVariable
Date
Msg-id 001201c36ec0$0091fed0$10d4a8c0@mm.eutelsat.org
Whole thread Raw
In response to SetVariable  ("Mendola Gaetano" <mendola@bigfoot.com>)
Responses Re: SetVariable
List pgsql-hackers
"Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
> I see other strdup() calls that don't check on a return.  Should we deal
> with those too?

Well strdup obtain the memory for the new string using a malloc
and normally is a good habit check the return value of a malloc.

Regards
Gaetano Mendola



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Bruce Momjian
Date:
Subject: Re: SetVariable