[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-committers
Subject:    pgsql: pg_waldump: Fix small memory leak when rmgr->rm_identify returns
From:       Andres Freund <andres () anarazel ! de>
Date:       2019-10-30 2:48:50
Message-ID: E1iPe2U-00004t-Aw () gemulon ! postgresql ! org
[Download RAW message or body]

[Attachment #2 (text/plain)]

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_5_STABLE

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

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic