]> 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:43 +0000 (15:56 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 15 Apr 2020 06:56:43 +0000 (15:56 +0900)
commitd70c014624dda9cd78bd4664c291a6627efca23f
tree0b1e6168a135387e1ca8ecb93a5e3ef8a03b4416
parent30afff385dd292c0e057f837838f063ea16ebef8
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