aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/pg_dump/pg_dump.c1
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 4185c97fdb1..ab82e0d0f05 100644
--- 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);
}
}