Merge pull request #108 from percona/bug-1592166

Bug-1592166 pt-kill leaks memory each time it kills a query
This commit is contained in:
Carlos Salguero
2016-07-05 17:16:22 -03:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -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));