Thread: Resource leak in pg_dump.c caused by transforms

Resource leak in pg_dump.c caused by transforms

From
Michael Paquier
Date:
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

Attachment

Re: Resource leak in pg_dump.c caused by transforms

From
Magnus Hagander
Date:
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. 

--