mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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
|
@ -1,3 +1,8 @@
|
|||
October 20, 2006
|
||||
- Fixed: ExpData::EvalConst() did not NULL the children pointers for binary
|
||||
operators after deleting them, so ~ExpData() would try to delete them again
|
||||
later.
|
||||
|
||||
October 19, 2006
|
||||
- Added a new MapMarker actor. Instead of appearing in the 3D view, it appears
|
||||
on the automap instead. If its first argument is zero, the map marker itself
|
||||
|
|
|
@ -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…
Reference in a new issue