Skip to content

Commit 1ed5493

Browse files
committed
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
1 parent 8989a52 commit 1ed5493

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15133,6 +15133,7 @@ getExtensionMembership(Archive *fout, ExtensionInfo extinfo[],
1513315133
addObjectDependency(&contable->dataObj->dobj,
1513415134
reftable->dataObj->dobj.dumpId);
1513515135
}
15136+
PQclear(res);
1513615137
destroyPQExpBuffer(query);
1513715138
}
1513815139

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy