patterns: Fixed double free crash
This commit is contained in:
parent
9a545a48ab
commit
aa527ba29b
@ -641,7 +641,6 @@ namespace hex::pl {
|
||||
std::vector<ASTNode*> body;
|
||||
|
||||
auto bodyCleanup = SCOPE_GUARD {
|
||||
delete condition;
|
||||
for (auto &statement : body)
|
||||
delete statement;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user