aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index b1afbb1db7..b6ceff8d19 100644
--- a/gc.c
+++ b/gc.c
@@ -1109,6 +1109,7 @@ obj_free(obj)
}
break;
case T_ICLASS:
+ rb_clear_cache_by_class((VALUE)obj);
/* iClass shares table with the module */
break;