pgsql: Fix minor memory leak in pg_dump - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix minor memory leak in pg_dump
Date
Msg-id E1jOc0P-0005Rs-Au@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix minor memory leak in pg_dump

A query used to read default ACL information from the catalogs did not
free a set of PQExpBuffer.

Oversight in commit e2090d9, so backpatch down to 9.6.

Author: Jie Zhang
Reviewed-by: Sawada Masahiko
Discussion: https://postgr.es/m/05bcbc5857f948efa0b451b85a48ae10@G08CNEXMBPEKD06.g08.fujitsu.local
Backpatch-through: 9.6

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7347855c46527920a86d3217dc140a8ae1060836

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 5 +++++
1 file changed, 5 insertions(+)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Code review for backup manifest.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Slightly simplify nbtree split point choice loop.