mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Fix mismatched free
Memory was allocated with new on line 304
This commit is contained in:
parent
98e79f3aec
commit
de7101dec2
|
|
@ -400,7 +400,7 @@ void CodeStream::reset()
|
|||
{
|
||||
CodeData *next = itr->next;
|
||||
dFree(itr->data);
|
||||
dFree(itr);
|
||||
delete(itr);
|
||||
itr = next;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue