diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-17 09:38:10 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-17 09:38:10 +0000 |
commit | 5008f85e0564e76f379bc07b7f30f7efc8e02d2a (patch) | |
tree | f79b454b1c6352c12dae4915f0e136c228d71a9f /gc.c | |
parent | eb0970089c9874da15f8adc6e0a719fc0b131e5b (diff) | |
download | ruby-5008f85e0564e76f379bc07b7f30f7efc8e02d2a.tar.gz ruby-5008f85e0564e76f379bc07b7f30f7efc8e02d2a.tar.xz ruby-5008f85e0564e76f379bc07b7f30f7efc8e02d2a.zip |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1171,10 +1171,9 @@ run_final(obj) VALUE obj; { int i, status; - VALUE id, args[2], table; + VALUE args[2], table; - id = rb_obj_id(obj); /* make obj into id */ - args[1] = rb_ary_new3(1, id); + args[1] = rb_ary_new3(1, rb_obj_id(obj)); /* make obj into id */ for (i=0; i<RARRAY(finalizers)->len; i++) { args[0] = RARRAY(finalizers)->ptr[i]; rb_protect(run_single_final, (VALUE)args, &status); |