aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-07-12 16:25:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-07-12 16:25:52 -0400
commite9a859b549d77dc8006670d012fecd94594c0a70 (patch)
tree369c51b4e64021bdb48a759aed5391d56a35ee47 /src
parentda1e7eb72ef6748f6c8b379e1ceacbecbcab9976 (diff)
downloadpostgresql-e9a859b549d77dc8006670d012fecd94594c0a70.tar.gz
postgresql-e9a859b549d77dc8006670d012fecd94594c0a70.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c1
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 5ee40c7888f..79dfee42df6 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -14007,6 +14007,7 @@ getExtensionMembership(ExtensionInfo extinfo[], int numExtensions)
addObjectDependency(&contable->dataObj->dobj,
reftable->dataObj->dobj.dumpId);
}
+ PQclear(res);
destroyPQExpBuffer(query);
}