pgsql: Avoid minor leak in parallel pg_dump

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Avoid minor leak in parallel pg_dump
Дата
Msg-id E1W6n7A-00058L-2E@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Avoid minor leak in parallel pg_dump

During parallel pg_dump, a worker process closing the connection caused
a minor memory leak (particularly minor as we are likely about to exit
anyway).  Instead, free the memory in this case prior to returning NULL
to indicate connection closed.

Spotting by the Coverity scanner.

Back patch to 9.3 where this was introduced.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8cb90b21af3cc52c21d8a43e2d9f125113ad9f4f

Modified Files
--------------
src/bin/pg_dump/parallel.c |   10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Avoid minor leak in parallel pg_dump
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: libpq: Support TLS versions beyond TLSv1.