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-0005Rz-Bq@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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/45d328bde659068b0c3dec7aeeb7ce667bdc4cfb

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.