From 5aed1a455dd9f0c9cf38e9547d92bd972dc1ffe4 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Mon, 13 Jan 2025 17:43:35 -0700 Subject: [PATCH] leak Signed-off-by: James Cherry --- search/PathGroup.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/search/PathGroup.cc b/search/PathGroup.cc index 7578369a..729d2a3c 100644 --- a/search/PathGroup.cc +++ b/search/PathGroup.cc @@ -798,6 +798,8 @@ PathGroups::enumPathEnds(PathGroup *group, PathEnd *end = path_enum.next(); if (group->saveable(end)) group->insert(end); + else + delete end; } }