pgsql: Fix a couple of memory leaks in src/bin/pg_basebackup/

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix a couple of memory leaks in src/bin/pg_basebackup/
Дата
Msg-id E1m7q99-0006wI-6w@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix a couple of memory leaks in src/bin/pg_basebackup/

These have been introduced by 7fbe0c8, and could happen for
pg_basebackup and pg_receivewal.

Per report from Coverity for the ones in walmethods.c, I have spotted
the ones in receivelog.c after more review.

Backpatch-through: 10

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4372f0685de164e769e895dbada18cad792192b2

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c | 7 +++++++
src/bin/pg_basebackup/walmethods.c | 7 +++++++
src/bin/pg_basebackup/walmethods.h | 4 ++--
3 files changed, 16 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Get rid of artificial restriction on hash table sizes on Windows
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Fix incorrect comment for get_agg_clause_costs