pgsql: Free PQresult on error in pg_receivexlog.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Free PQresult on error in pg_receivexlog.
Дата
Msg-id E1WjlI2-0003u5-G9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Free PQresult on error in pg_receivexlog.

The leak is fairly small and rare, but a leak nevertheless.

Per Coverity report. Backpatch to 9.2, where pg_receivexlog was added.
pg_basebackup shares the code, but it always exits on error, so there is
no real leak.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0ad78306be6bd3db0575b0d046e4cbe7f50635b8

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c |    2 ++
1 file changed, 2 insertions(+)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Free PQresult on error in pg_receivexlog.
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Fix typo in test_shm_mq document.