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.
pull/3/head
Alvaro Herrera 14 years ago
parent 814e08e895
commit 77503a7638
  1. 2
      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;
}

Loading…
Cancel
Save