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: (view raw, whole thread or download thread mbox)
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



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-2018 The PostgreSQL Global Development Group