Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit faf686b

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 0a9b042 commit faf686b

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
@@ -14796,6 +14796,7 @@ getExtensionMembership(Archive *fout, ExtensionInfo extinfo[],
1479614796
addObjectDependency(&contable->dataObj->dobj,
1479714797
reftable->dataObj->dobj.dumpId);
1479814798
}
14799+
PQclear(res);
1479914800
destroyPQExpBuffer(query);
1480014801
}
1480114802

0 commit comments

Comments
 (0)