Re: Several memory leaks for pg_rewind caused by missing PQclear calls

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Several memory leaks for pg_rewind caused by missing PQclear calls
Date: 2015-07-27 17:45:41
Message-ID: 55B66E45.8060606@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-07-27 18:32:07 Re: proposal: multiple psql option -c
Previous Message Josh Berkus 2015-07-27 17:39:32 Alpha 2 wrapping August 3