From 1c047e763b8a92a310ab576cdf3c8375f50bc956 Mon Sep 17 00:00:00 2001 From: Carlos Salguero Date: Wed, 29 Jun 2016 12:26:06 -0300 Subject: [PATCH 1/2] bug-1592166 Fixed memory leak in pt-kill --- bin/pt-kill | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pt-kill b/bin/pt-kill index 0ed2fb4a..2915feb6 100755 --- a/bin/pt-kill +++ b/bin/pt-kill @@ -3494,6 +3494,7 @@ sub find { my $ms = $self->{MasterSlave}; my @matches; + $self->{_reasons_for_matching} = undef; QUERY: foreach my $query ( @$proclist ) { PTDEBUG && _d('Checking query', Dumper($query)); From a9ec512036fcaf63df5f8244d1de4f4ad8cc47bd Mon Sep 17 00:00:00 2001 From: Carlos Salguero Date: Wed, 29 Jun 2016 12:28:32 -0300 Subject: [PATCH 2/2] bug-1592166 Updated change log --- Changelog | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Changelog b/Changelog index 37069cb6..bae1f13e 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,9 @@ Changelog for Percona Toolkit +v2.2.19 + + * Fixed bug 1592166: pt-kill leaks memory + v2.2.18 released 2016-06-24 * Feature 1537416 : pt-stalk now sorts the output of transactions by id