mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Fix leak when freeing compiler stream
This commit is contained in:
parent
1e44586606
commit
73c51e5d1a
|
|
@ -328,7 +328,10 @@ public:
|
|||
reset();
|
||||
|
||||
if (mCode)
|
||||
{
|
||||
dFree(mCode->data);
|
||||
delete mCode;
|
||||
}
|
||||
}
|
||||
|
||||
U8 *allocCode(U32 sz);
|
||||
|
|
|
|||
Loading…
Reference in a new issue