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

Browse pgsql-committers by date

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