pgsql: Plug memory leak - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Plug memory leak
Date
Msg-id E1oBa6A-002aGl-GK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Plug memory leak

Commit 054325c5eeb3 created a memory leak in PQsendQueryInternal in case
an error occurs while sending the message.  Repair.

Backpatch to 14, like that commit.  Reported by Coverity.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e1df03b80d51e093fddb2d554c9a81a28dae568c

Modified Files
--------------
src/interfaces/libpq/fe-exec.c | 1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Allow specifying STORAGE attribute for a new table
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Plug memory leak