Resource leak in pg_dump.c caused by transforms - Mailing list pgsql-hackers

From Michael Paquier
Subject Resource leak in pg_dump.c caused by transforms
Date
Msg-id CAB7nPqTXL_UNdW19j8i5i5b5fPqaCF+zSxpm3RmGpXWz3N082g@mail.gmail.com
Whole thread Raw
Responses Re: Resource leak in pg_dump.c caused by transforms
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: JSON data type and schema validation
Next
From: Michael Paquier
Date:
Subject: Transforms patch not respecting if indentation