From 07c11dc9da4723231d1e0dd121bba0e464f9463c Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Tue, 13 Nov 2018 10:08:58 +0000 Subject: [PATCH] fixed a memory leak bug in pop_cunit() for interface --- moo/lib/comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/moo/lib/comp.c b/moo/lib/comp.c index c0e2678..8eca9c8 100644 --- a/moo/lib/comp.c +++ b/moo/lib/comp.c @@ -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; }