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