]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix minor memory leak in pg_dump
authorMichael Paquier <michael@paquier.xyz>
Wed, 15 Apr 2020 06:56:52 +0000 (15:56 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 15 Apr 2020 06:56:52 +0000 (15:56 +0900)
commite7887fe00db214b141a29f4298c7bb6536292a7e
tree9c30756144ab7117c847a6cef5679929483411bd
parentaca51181baf9ec3ddcac6707bf6a6a5014f7543b
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
src/bin/pg_dump/pg_dump.c