Fix leak when freeing compiler stream

This commit is contained in:
James Urquhart 2014-09-07 21:49:05 +01:00
parent 1e44586606
commit 73c51e5d1a

View file

@ -328,7 +328,10 @@ public:
reset();
if (mCode)
{
dFree(mCode->data);
delete mCode;
}
}
U8 *allocCode(U32 sz);