diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-03-16 16:27:13 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-03-16 16:27:13 -0300 |
commit | c6b75b3f14fd4ff973ad3d2e2cfe42b5639bd101 (patch) | |
tree | 8f06aecb5df9715e2a6cffd0e6195c36c8c16c7e /src | |
parent | 170679216d225d979daf2651f2bf73bc08ffdd26 (diff) |
Plug memory leak
Introduced by b08dee24a557. Noted by Coverity.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 1efc22559d9..8b3b1bf91ec 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -3990,6 +3990,7 @@ append_depends_on_extension(Archive *fout, } PQclear(res); + destroyPQExpBuffer(query); pg_free(nm); } } |