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.
This commit is contained in:
Alvaro Herrera 2012-03-19 17:52:20 -03:00
parent 814e08e895
commit 77503a7638

View file

@ -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;
} }