Several memory leaks for pg_rewind caused by missing PQclear calls - Mailing list pgsql-hackers

From Michael Paquier
Subject Several memory leaks for pg_rewind caused by missing PQclear calls
Date
Msg-id CAB7nPqSnxBNwNGa0h2zS=3zOh7MdgzbwD_79oij3qc90r3ZO8A@mail.gmail.com
Whole thread Raw
Responses Re: Several memory leaks for pg_rewind caused by missing PQclear calls  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Hi all,

After a run of valgrind on pg_rewind, I found a couple of code paths
missing some PQclear calls after running a query. Attached is a patch
to fix all those leaks.
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TABLESAMPLE patch is really in pretty sad shape
Next
From: Gurjeet Singh
Date:
Subject: Re: "A huge debt of gratitude" - Michael Stonebraker