Fixed leaking relocation table memory in JIT.
This commit is contained in:
parent
547f7aecc1
commit
e48bba5b4d
@ -37,7 +37,10 @@ BaseRuntime::~BaseRuntime()
|
|||||||
free(m_FuncCache);
|
free(m_FuncCache);
|
||||||
|
|
||||||
delete m_pCtx;
|
delete m_pCtx;
|
||||||
delete m_pCo;
|
if (m_pCo != NULL)
|
||||||
|
{
|
||||||
|
m_pCo->Abort();
|
||||||
|
}
|
||||||
|
|
||||||
free(m_pPlugin->base);
|
free(m_pPlugin->base);
|
||||||
delete [] m_pPlugin->memory;
|
delete [] m_pPlugin->memory;
|
||||||
|
Loading…
Reference in New Issue
Block a user