1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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);
} while (ntups > 0);
PQclear(res);
return 1;
}