]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_waldump: Fix small memory leak when rmgr->rm_identify returns NULL.
authorAndres Freund <andres@anarazel.de>
Wed, 30 Oct 2019 02:18:07 +0000 (19:18 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 30 Oct 2019 02:28:34 +0000 (19:28 -0700)
commit4ab353c477e6f585973b171a2652551574cbbc45
treee78fb8c0f5d6d26cf728ddf5a7a04f77b6c9831f
parenteae1ba65fab4790c350264714b5eb7581c5e62be
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
src/bin/pg_waldump/pg_waldump.c