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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: 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 23:57:55
Message-ID: CAB7nPqTi8wpvFpWbZ9_3tMRZK9NJ-OVBPZifw7GryR1SiE_fDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 28, 2015 at 2:45 AM, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
> 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.

Thanks for taking care of this.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2015-07-28 00:34:06 Re: more RLS oversights
Previous Message Jim Nasby 2015-07-27 23:47:02 Re: Autonomous Transaction is back