Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814e08e
)
pg_dump: fix double free of query results
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Mon, 19 Mar 2012 20:52:20 +0000
(17:52 -0300)
committer
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Mon, 19 Mar 2012 20:55:51 +0000
(17:55 -0300)
This bug was introduced while refactoring in commit
1631598e
--- no need
to back-patch.
Bug report and fix from Joachim Wieland.
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index 2b0a5ff81ad0be7984837d40792a2a1910b7ea41..57a6ccb56f36df1d895005461e227c11c8855940 100644
(file)
--- a/
src/bin/pg_dump/pg_dump.c
+++ b/
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;
}