]> 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)
commit95f2efd5041b95cb92e3940e79cbbb65c4c4b09e
tree0aa5186ca46a5f76bdd46cc6b894a945fd339355
parent404cbc5620f4d0cec213d8804f612776dc302d55
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_xlogdump/pg_xlogdump.c