mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +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();
|
||||
|
||||
if (mCode)
|
||||
{
|
||||
dFree(mCode->data);
|
||||
delete mCode;
|
||||
}
|
||||
}
|
||||
|
||||
U8 *allocCode(U32 sz);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue