pgsql: Fix assorted memory leaks.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix assorted memory leaks.
Date: 2015-07-12 20:26:35
Message-ID: E1ZENpb-00027m-EN@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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
------
master

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2015-07-12 21:42:52 pgsql: release notes: markup: vacuumdb is an application, not command
Previous Message Andres Freund 2015-07-12 20:25:35 pgsql: For consistency add a pfree to ON CONFLICT set_plan_refs code.