pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_waldump: Fix small memory leak when rmgr->rm_identify returns
Date: Wed, 30 Oct 2019 02:48:48 +0000
Message-ID: <E1iPe2S-0008WD-26@gemulon.postgresql.org> (raw)

pg_waldump: Fix small memory leak when rmgr->rm_identify returns NULL.

This got broken in 604f7956b94, shortly after rm_identify's
introduction.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, where rm_identify was introduced

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/95f2efd5041b95cb92e3940e79cbbb65c4c4b09e

Modified Files
--------------
src/bin/pg_xlogdump/pg_xlogdump.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1iPe2S-0008WD-26@gemulon.postgresql.org>
Permalink:  ../E1iPe2S-0008WD-26@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iPe2S-0008WD-26@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: andres@anarazel.de
  Subject: Re: pgsql: pg_waldump: Fix small memory leak when rmgr->rm_identify returns
  In-Reply-To: <E1iPe2S-0008WD-26@gemulon.postgresql.org>
  References: <E1iPe2S-0008WD-26@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