- Fixed: ExpData::EvalConst() did not NULL the children pointers for binary
operators after deleting them, so ~ExpData() would try to delete them again later. SVN r357 (trunk)
This commit is contained in:
parent
ef1a5a115f
commit
dd5f01b91e
2 changed files with 7 additions and 2 deletions
|
|
@ -309,8 +309,8 @@ struct ExpData
|
|||
{
|
||||
Value = EvalExpression (this, NULL);
|
||||
Type = EX_Const;
|
||||
delete Children[0];
|
||||
delete Children[1];
|
||||
delete Children[0]; Children[0] = NULL;
|
||||
delete Children[1]; Children[1] = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue