- 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:
Randy Heit 2006-10-21 04:38:57 +00:00
parent ef1a5a115f
commit dd5f01b91e
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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;
}
}
}