diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-03-19 17:52:20 -0300 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-03-19 17:55:51 -0300 |
| commit | 77503a7638a35eedd9cb08d9ca4c54deb203521d (patch) | |
| tree | ab986510170ac95d804ed7923e5c995456ba41b6 | |
| parent | 814e08e895a037e3f5485000db5964cd68dbfa01 (diff) | |
| download | postgresql-77503a7638a35eedd9cb08d9ca4c54deb203521d.tar.gz | |
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 2b0a5ff81a..57a6ccb56f 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; } |
