projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390984f
)
Plug memory leak
author
Alvaro Herrera
Mon, 16 Mar 2020 19:27:13 +0000
(16:27 -0300)
committer
Alvaro Herrera
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 c4a3e2c1a6c9e4f33f971fc3aedcaf83fd1f3841..dd2e58e0b6b6b2ef960ea5513daef3a72bec6e9d 100644
(file)
--- a/
src/bin/pg_dump/pg_dump.c
+++ b/
src/bin/pg_dump/pg_dump.c
@@
-4329,6
+4329,7
@@
append_depends_on_extension(Archive *fout,
}
PQclear(res);
+ destroyPQExpBuffer(query);
pg_free(nm);
}
}