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

pgsql: psql: Fix memory leak

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: psql: Fix memory leak
Date: 2012-03-07 21:54:37
Message-ID: E1S5Oof-0005Xs-Pt@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
psql: Fix memory leak

In expanded auto mode, a lot of allocated memory was not cleaned up.

found by Coverity

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1673122127f9f17f4ca6b214027c0806b0d502f4

Modified Files
--------------
src/bin/psql/print.c |    3 ++-
1 files changed, 2 insertions(+), 1 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