diff options
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -970,6 +970,7 @@ gc_mark_children(VALUE ptr, int lev) break; case T_MATCH: + gc_mark(obj->as.match.regexp, lev); if (obj->as.match.str) { ptr = obj->as.match.str; goto again; |