From bcdaf8e2d23fdd8dbabc1b118c0ce3b698c8bae3 Mon Sep 17 00:00:00 2001 From: Tony Lee Date: Wed, 18 Jul 2018 00:29:21 -0400 Subject: [PATCH] add unused pointslices to the pool (#4363) Signed-off-by: Tony Lee --- promql/engine.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/promql/engine.go b/promql/engine.go index ca879ca51..d20292134 100644 --- a/promql/engine.go +++ b/promql/engine.go @@ -1060,6 +1060,8 @@ func (ev *evaluator) matrixSelector(node *MatrixSelector) Matrix { if len(ss.Points) > 0 { matrix = append(matrix, ss) + } else { + putPointSlice(ss.Points) } } return matrix