git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 390984f)
Plug memory leak
2020年3月16日 19:27:13 +0000 (16:27 -0300)
2020年3月16日 19:27:13 +0000 (16:27 -0300)
Introduced by b08dee24a557. Noted by Coverity.


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);
}
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /