fixed a memory leak bug in pop_cunit() for interface

This commit is contained in:
hyunghwan.chung 2018-11-13 10:08:58 +00:00
parent cee3d81210
commit 07c11dc9da

View File

@ -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;
}