mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Fix leak when freeing compiler stream
This commit is contained in:
parent
1e44586606
commit
73c51e5d1a
1 changed files with 3 additions and 0 deletions
|
|
@ -328,7 +328,10 @@ public:
|
||||||
reset();
|
reset();
|
||||||
|
|
||||||
if (mCode)
|
if (mCode)
|
||||||
|
{
|
||||||
|
dFree(mCode->data);
|
||||||
delete mCode;
|
delete mCode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
U8 *allocCode(U32 sz);
|
U8 *allocCode(U32 sz);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue