pgsql: Return error if allocation of new element was not possible.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Return error if allocation of new element was not possible.
Date: 2013-09-08 11:16:52
Message-ID: E1VIcz6-0004Bh-3Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Return error if allocation of new element was not possible.

Found by Coverity.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/994362a317ced987b6ea616b236c402d715ddcd5

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/numeric.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2013-09-09 15:38:40 Re: pgsql: Stamp 9.3.0.
Previous Message Michael Meskes 2013-09-08 11:16:51 pgsql: Close file to no leak file descriptor memory. Found by Coverity.