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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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(-)

Browse pgsql-committers by date

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