pgsql: libpq: Fix memory leak - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: libpq: Fix memory leak
Date
Msg-id E1S6WIR-00036w-C0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
libpq: Fix memory leak

If a client encoding is specified as a connection parameter (or
environment variable), internal storage allocated for it would never
be freed.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0ba7ff5fa542c1cf77bac001c534ff0c82b2fde2

Modified Files
--------------
src/interfaces/libpq/fe-connect.c |    2 ++
1 files changed, 2 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: ecpg: Fix rare memory leaks
Next
From: Peter Eisentraut
Date:
Subject: pgsql: ecpg: Fix off-by-one error in memory copying