summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-06 06:22:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-06 06:22:11 +0000
commitf05cb51f6e8475053a68a66bece43d2be6d6b4d2 (patch)
tree141be5a4550c3d9a5ac7fe33fb33ed67d6295fc1
parenteebe08507c92b8cd3a12285294c960f8ec243ff3 (diff)
downloadruby-f05cb51f6e8475053a68a66bece43d2be6d6b4d2.tar.gz
ruby-f05cb51f6e8475053a68a66bece43d2be6d6b4d2.tar.xz
ruby-f05cb51f6e8475053a68a66bece43d2be6d6b4d2.zip
* gc.c (gc_mark_children): ignores T_ZOMBIE.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--gc.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e69b7e5ba..a65820a40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Oct 6 15:22:08 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * gc.c (gc_mark_children): ignores T_ZOMBIE.
+
Mon Oct 6 12:45:20 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* test/ruby/test_module.rb (TestModule#_wrap_assertion): add
diff --git a/gc.c b/gc.c
index bbbac0532..c467cb1d6 100644
--- a/gc.c
+++ b/gc.c
@@ -1517,6 +1517,7 @@ gc_mark_children(rb_objspace_t *objspace, VALUE ptr, int lev)
case T_FLOAT:
case T_BIGNUM:
+ case T_ZOMBIE:
break;
case T_MATCH: