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
This commit is contained in:
Tom Lane 2015-07-12 16:25:52 -04:00
parent da1e7eb72e
commit e9a859b549

View File

@ -14007,6 +14007,7 @@ getExtensionMembership(ExtensionInfo extinfo[], int numExtensions)
addObjectDependency(&contable->dataObj->dobj,
reftable->dataObj->dobj.dumpId);
}
PQclear(res);
destroyPQExpBuffer(query);
}