Commit 77503a76 authored by Alvaro Herrera's avatar Alvaro Herrera

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.
parent 814e08e8
...@@ -2372,8 +2372,6 @@ dumpBlobs(Archive *fout, void *arg) ...@@ -2372,8 +2372,6 @@ dumpBlobs(Archive *fout, void *arg)
PQclear(res); PQclear(res);
} while (ntups > 0); } while (ntups > 0);
PQclear(res);
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment