diff options
author | Alvaro Herrera | 2012-03-19 20:52:20 +0000 |
---|---|---|
committer | Alvaro Herrera | 2012-03-19 20:55:51 +0000 |
commit | 77503a7638a35eedd9cb08d9ca4c54deb203521d (patch) | |
tree | ab986510170ac95d804ed7923e5c995456ba41b6 | |
parent | 814e08e895a037e3f5485000db5964cd68dbfa01 (diff) |
pg_dump: fix double free of query results
This bug was introduced while refactoring in commit 1631598e --- no need
to back-patch.
Bug report and fix from Joachim Wieland.
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 2b0a5ff81ad..57a6ccb56f3 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -2372,8 +2372,6 @@ dumpBlobs(Archive *fout, void *arg) PQclear(res); } while (ntups > 0); - PQclear(res); - return 1; } |