fixed a memory leak bug in pop_cunit() for interface
This commit is contained in:
parent
cee3d81210
commit
07c11dc9da
@ -9228,6 +9228,7 @@ static void pop_cunit (moo_t* moo)
|
||||
ifce = (moo_cunit_interface_t*)cunit;
|
||||
|
||||
if (ifce->fqn.ptr) moo_freemem (moo, ifce->fqn.ptr);
|
||||
clear_method_data (moo, &ifce->mth);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user