1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-17 06:41:24 +03:00

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 0a9b0428f0
commit faf686b540

View File

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