mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Fix mismatched free
Memory was allocated with new on line 304
This commit is contained in:
parent
98e79f3aec
commit
de7101dec2
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ void CodeStream::reset()
|
||||||
{
|
{
|
||||||
CodeData *next = itr->next;
|
CodeData *next = itr->next;
|
||||||
dFree(itr->data);
|
dFree(itr->data);
|
||||||
dFree(itr);
|
delete(itr);
|
||||||
itr = next;
|
itr = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue