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