From aa527ba29b97b9beca9be29898bca97f0653d004 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 21 Nov 2021 00:48:07 +0100 Subject: [PATCH] patterns: Fixed double free crash --- plugins/libimhex/source/pattern_language/parser.cpp | 1 - 1 file changed, 1 deletion(-) 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; };