projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540ef37
)
Plug memory leak
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Mon, 16 Mar 2020 19:27:13 +0000
(16:27 -0300)
committer
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Mon, 16 Mar 2020 19:27:13 +0000
(16:27 -0300)
Introduced by
b08dee24a557
. Noted by Coverity.
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 4185c97fdb1766ce32352279c65aa4685b9bddcd..ab82e0d0f05bf8058d8f72878c89dbbab13af8e9 100644
(file)
--- a/
src/bin/pg_dump/pg_dump.c
+++ b/
src/bin/pg_dump/pg_dump.c
@@
-4296,6
+4296,7
@@
append_depends_on_extension(Archive *fout,
}
PQclear(res);
+ destroyPQExpBuffer(query);
pg_free(nm);
}
}