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

pgsql: libpq: Fix minor memory leaks

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: libpq: Fix minor memory leaks
Date: 2012-03-16 18:39:10
Message-ID: E1S8c3S-0005aF-AH@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
libpq: Fix minor memory leaks

When using connection info arrays with a conninfo string in the dbname
slot, some memory would be leaked if an error occurred while
processing the following array slots.

found by Coverity

Branch
------
master

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

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

pgsql-committers by date

Next:From: Bruce MomjianDate: 2012-03-16 22:54:26
Subject: pgsql: In pg_upgrade,create a script to incrementally generate more ac
Previous:From: Tom LaneDate: 2012-03-16 18:08:05
Subject: pgsql: Improve commentary in match_pathkeys_to_index().

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