Several memory leaks for pg_rewind caused by missing PQclear calls
Several memory leaks for pg_rewind caused by missing PQclear calls
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
Re: Several memory leaks for pg_rewind caused by missing PQclear calls
От:
Heikki Linnakangas <hlinnaka@iki.fi>
Дата:
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
Re: Several memory leaks for pg_rewind caused by missing PQclear calls
От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
On Tue, Jul 28, 2015 at 2:45 AM, Heikki Linnakangas 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