Обсуждение: Resource leak in pg_dump.c caused by transforms

Поиск
Список
Период
Сортировка

Resource leak in pg_dump.c caused by transforms

От
Michael Paquier
Дата:
Hi all,

Coverity is complaining that getTransforms in pg_dump.c leaks a
PQExpBuffer allocation.
Please find attached a patch to fix the leak.
Regards,
--
Michael

Вложения

Re: Resource leak in pg_dump.c caused by transforms

От
Magnus Hagander
Дата:
On Mon, May 4, 2015 at 6:34 AM, Michael Paquier <michael.paquier@gmail.com> wrote:
Hi all,

Coverity is complaining that getTransforms in pg_dump.c leaks a
PQExpBuffer allocation.
Please find attached a patch to fix the leak.

Applied, thanks. 

--