pgsql: Fix assorted memory leaks. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix assorted memory leaks.
Date
Msg-id E1ZENpb-00027o-EX@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0e78a610f24463f64d8a03b39f06e995581c923a

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c |    1 +
src/bin/pg_dump/pg_dump.c          |    2 ++
src/bin/pg_rewind/libpq_fetch.c    |    8 ++++++--
src/bin/scripts/vacuumdb.c         |    7 ++++---
4 files changed, 13 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix assorted memory leaks.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix assorted memory leaks.