Skip to content

Commit f82e717

Browse files
committed
[mono][interp] Fix leak in tiering
We were looking with wrong key by mistake.
1 parent 9a7db2b commit f82e717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/mono/mini/interp/tiering.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ patch_interp_data_items (InterpMethod *old_imethod, InterpMethod *new_imethod)
6464
GSList *sites = g_hash_table_lookup (patch_sites_table, old_imethod);
6565
g_slist_foreach (sites, patch_imethod_site, new_imethod);
6666

67-
g_hash_table_remove (patch_sites_table, sites);
67+
g_hash_table_remove (patch_sites_table, old_imethod);
6868
g_slist_free (sites);
6969
}
7070

0 commit comments

Comments
 (0)