projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5fc049
)
[runtime] Free patches list
author
Alexander Kyte
<alkyte@microsoft.com>
Wed, 6 Jul 2016 22:56:22 +0000
(18:56 -0400)
committer
Alexander Kyte
<alkyte@microsoft.com>
Thu, 7 Jul 2016 19:22:21 +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 89c46f9d09f97e5c056f03522cb408e13fd2a361..9b2636cb248959e365ac06844ab1e1827993f8de 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-6524,6
+6524,7
@@
emit_trampoline_full (MonoAotCompile *acfg, int got_offset, MonoTrampInfo *info,
encode_patch_list (acfg, patches, patches->len, FALSE, got_offset, p, &p);
g_assert (p - buf < buf_size);
+ g_ptr_array_free (patches, TRUE);
sprintf (symbol, "%s%s_p", acfg->user_symbol_prefix, name);