pgsql: Fix minor memory leak in Standby startup

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема pgsql: Fix minor memory leak in Standby startup
Дата
Msg-id E1bhwNm-0007He-3s@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix minor memory leak in Standby startup

StandbyRecoverPreparedTransactions() leaked the buffer
used for two phase state file. This was leaked once
at startup and at every shutdown checkpoint seen.

Backpatch to 9.6

Stas Kelvich

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/67c6bd1ca3ce75778138bf4713444a5a6b46032e

Modified Files
--------------
src/backend/access/transam/twophase.c | 2 ++
1 file changed, 2 insertions(+)


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: MSVC: Pass any user-set MSBFLAGS to MSBuild and VCBUILD.
Следующее
От: Simon Riggs
Дата:
Сообщение: pgsql: Fix minor memory leak in Standby startup