From d3853bbe3dbe62dac1faf4783d37fefc143c625a Mon Sep 17 00:00:00 2001 From: Alexander Kyte Date: Thu, 7 Jul 2016 12:25:20 -0400 Subject: [PATCH] [runtime] Free last buf used by emit_extra_methods --- mono/mini/aot-compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c index 44322dabb6c..82ea21d111a 100644 --- a/mono/mini/aot-compiler.c +++ b/mono/mini/aot-compiler.c @@ -8868,6 +8868,7 @@ emit_extra_methods (MonoAotCompile *acfg) } emit_aot_data (acfg, MONO_AOT_TABLE_EXTRA_METHOD_INFO_OFFSETS, "extra_method_info_offsets", buf, p - buf); + g_free (buf); g_ptr_array_free (table, TRUE); } -- 2.11.4.GIT