Re: SetVariable

From: "Gaetano Mendola" <mendola(at)bigfoot(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: SetVariable
Date: 2003-08-30 06:29:01
Message-ID: 001201c36ec0$0091fed0$10d4a8c0@mm.eutelsat.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2003-08-30 09:07:29 Re: [HACKERS] pgadmin3-0.9.1 wxwindows build woes utils/misc.cpp:389:
Previous Message Ron Johnson 2003-08-30 05:21:17 Re: Hardware recommendations to scale to silly load