diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-07-12 16:25:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-07-12 16:25:52 -0400 |
commit | a24ceea4b311146d41e3bd5b8e0df7176113675f (patch) | |
tree | 4a99226b575cbf6d32b58bd19f433de3ebb4ea67 | |
parent | 349ce2870f1039b83811af0c640fe58efe16e3f7 (diff) |
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
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index e10c30a8fe1..9d224476c84 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -14155,6 +14155,7 @@ getExtensionMembership(Archive *fout, ExtensionInfo extinfo[], addObjectDependency(&contable->dataObj->dobj, reftable->dataObj->dobj.dumpId); } + PQclear(res); destroyPQExpBuffer(query); } |