pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix minor memory leak in pg_dump
Date: Wed, 15 Apr 2020 06:58:41 +0000
Message-ID: <E1jOc0P-0005Rt-BM@gemulon.postgresql.org> (raw)

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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e7887fe00db214b141a29f4298c7bb6536292a7e

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



view thread (5+ messages)

Message-ID: <E1jOc0P-0005Rt-BM@gemulon.postgresql.org>
Permalink:  ../E1jOc0P-0005Rt-BM@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jOc0P-0005Rt-BM@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Fix minor memory leak in pg_dump
  In-Reply-To: <E1jOc0P-0005Rt-BM@gemulon.postgresql.org>
  References: <E1jOc0P-0005Rt-BM@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox