projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f9e4d4
)
[runtime] Free leaked buffer
author
Alexander Kyte
<alkyte@microsoft.com>
Wed, 6 Jul 2016 22:51:33 +0000
(18:51 -0400)
committer
Alexander Kyte
<alkyte@microsoft.com>
Thu, 7 Jul 2016 19:22:18 +0000
(15:22 -0400)
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index f3d7c106b33648d668271df96ee27b531027b81a..c385992c8be7fdd2609a6f05566a3b6f034c6947 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-8847,6
+8847,8
@@
emit_extra_methods (MonoAotCompile *acfg)
/* Emit the table */
emit_aot_data (acfg, MONO_AOT_TABLE_EXTRA_METHOD_TABLE, "extra_method_table", buf, p - buf);
+ g_free (buf);
+
/*
* Emit a table reverse mapping method indexes to their index in extra_method_info.
* This is used by mono_aot_find_jit_info ().