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-0004Bs-7D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Return error if allocation of new element was not possible.

Found by Coverity.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/994f68d15b8c622eeda77675121861d1c9b7d34d

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: Close file to no leak file descriptor memory. Found by Coverity.
Next
From: Michael Meskes
Date:
Subject: pgsql: Return error if allocation of new element was not possible.