Fix assorted memory leaks.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0e78a610f24463f64d8a03b39f06e995581c923a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-07-12T20:26:18Z
Releases: 9.5.0
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

Files