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:
@ -2372,8 +2372,6 @@ dumpBlobs(Archive *fout, void *arg)
|
||||
PQclear(res);
|
||||
} while (ntups > 0);
|
||||
|
||||
PQclear(res);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user