[COMMITTERS] pgsql: pg_dump: Fix minor memory leak - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: pg_dump: Fix minor memory leak
Date
Msg-id E1cVegU-00078u-Ch@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pg_dump: Fix minor memory leak

Missing a destroyPQExpBuffer() in the early exit branch.  The early
exits aren't really necessary.  Most similar functions just proceed
running the rest of the code zero times and clean up at the end.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/366d2a3d8808ad92436a830c32e73ce17affe5b6

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 18 ------------------
1 file changed, 18 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Relocate static function declarations to be after typedefs injs
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Volatile-ize some plperl variables that must survive intoPG_CAT