Fix minor memory leak in pg_dump
authorMichael Paquier <michael@paquier.xyz>
Wed, 15 Apr 2020 06:56:01 +0000 (15:56 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 15 Apr 2020 06:56:01 +0000 (15:56 +0900)
commit8f4ee44bcdbcd437f860f2d048125a118335b088
tree0ae8e67d78318ba28924beb46faf5faf876ff5df
parenta2ac73e7be7adf2a9248d14322d3a5e055ea4fd0
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