]> 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)
commite3ff8c360e4d1f48eff0154aed654cc9d8f9529b
tree1f52d2d35d97385e2107dbdf66f516936fb9d771
parent9bf24768664be6faf79333e1d4d6d14a0d33587b
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