pgsql: pg_waldump: Fix small memory leak when rmgr->rm_identify returns

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: pg_waldump: Fix small memory leak when rmgr->rm_identify returns
Дата
Msg-id E1iPe2I-0008Uj-Di@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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
------
master

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

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix typos in the code
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: pg_waldump: Fix small memory leak when rmgr->rm_identify returns