diff --git a/plugins/libimhex/source/pattern_language/parser.cpp b/plugins/libimhex/source/pattern_language/parser.cpp index 67cafdde3..4598af9ef 100644 --- a/plugins/libimhex/source/pattern_language/parser.cpp +++ b/plugins/libimhex/source/pattern_language/parser.cpp @@ -641,7 +641,6 @@ namespace hex::pl { std::vector body; auto bodyCleanup = SCOPE_GUARD { - delete condition; for (auto &statement : body) delete statement; };