Skip to content

Commit 77503a7

Browse files
committed
pg_dump: fix double free of query results
This bug was introduced while refactoring in commit 1631598 --- no need to back-patch. Bug report and fix from Joachim Wieland.
1 parent 814e08e commit 77503a7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,8 +2372,6 @@ dumpBlobs(Archive *fout, void *arg)
23722372
PQclear(res);
23732373
} while (ntups > 0);
23742374

2375-
PQclear(res);
2376-
23772375
return 1;
23782376
}
23792377

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