]> 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)
commitaf67aee69189c59bd3076b472f959a16e6193828
tree7aeb358b30cc4fb5406f459032e2f834ba829901
parent9f7a664fe35c40cc9b1a4ebec4fc990dc45370f3
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