Skip site navigation (1) Skip section navigation (2)

pgsql: libpq: Fix memory leak

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: libpq: Fix memory leak
Date: 2012-03-07 21:54:37
Message-ID: E1S5Oof-0005Xo-Ns@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f9325df0fc6dcf3c1a2540b944c00b7316754146

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

pgsql-committers by date

Next:From: Robert HaasDate: 2012-03-07 21:57:09
Subject: pgsql: psql: Avoid some spurious output if the server croaks.
Previous:From: Tom LaneDate: 2012-03-07 19:51:25
Subject: pgsql: Expose an API for calculating catcache hash values.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group