mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
patterns: Fixed double free crash
This commit is contained in:
@@ -641,7 +641,6 @@ namespace hex::pl {
|
||||
std::vector<ASTNode*> body;
|
||||
|
||||
auto bodyCleanup = SCOPE_GUARD {
|
||||
delete condition;
|
||||
for (auto &statement : body)
|
||||
delete statement;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user