pgsql: Return error if allocation of new element was not possible. - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Return error if allocation of new element was not possible.
Date
Msg-id E1VIcz6-0004C2-Ap@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Return error if allocation of new element was not possible.

Found by Coverity.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1b7f5168c5ebf232366f455a792c9d269308c9ba

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


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: Return error if allocation of new element was not possible.
Next
From: Michael Meskes
Date:
Subject: pgsql: Close file to no leak file descriptor memory. Found by Coverity.