Re: unchecked malloc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: unchecked malloc
Date
Msg-id 7066.1127923874@sss.pgh.pa.us
Whole thread Raw
In response to Re: unchecked malloc  (Sibtay Abbas <sibtay@gmail.com>)
List pgsql-hackers
Sibtay Abbas <sibtay@gmail.com> writes:
> in pl_comp.c, plpgsql_build_variable takes a pointer to a PLpgSQL_type
> structure, which is always a malloc'ed instance(since we always use
> plpgsql_build_datatype function).

As of current sources it's palloc'd, and should be released if the
function is ever recompiled, so I see no strong reason to worry.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Proposed patch for sequence-renaming problems
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Proposed patch for sequence-renaming problems