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

From Heikki Linnakangas
Subject Re: Several memory leaks for pg_rewind caused by missing PQclear calls
Date
Msg-id 55B66E45.8060606@iki.fi
Whole thread Raw
In response to Several memory leaks for pg_rewind caused by missing PQclear calls  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Several memory leaks for pg_rewind caused by missing PQclear calls  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 07/23/2015 05:08 PM, Michael Paquier wrote:
> 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.

Fixed, thanks.

- Heikki




pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Alpha 2 wrapping August 3
Next
From: Robert Haas
Date:
Subject: Re: proposal: multiple psql option -c