diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-17 07:27:00 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-10-17 07:27:00 +0000 |
commit | 66d1582c07db57b4a1a1cd0ab7d79f042be80faa (patch) | |
tree | a63241e4140156b843a981d9e626356e51905210 /gc.c | |
parent | e6c0ea3e097fb5b23e6ec3e909474063eba21306 (diff) |
* object.c (rb_str_to_dbl): RString ptr might be NULL.
* object.c (rb_cstr_to_dbl): p pointer might be NULL.
* bignum.c (rb_str_to_inum): RString ptr might be NULL.
* bignum.c (rb_cstr_to_inum): str pointer might be NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -991,7 +991,7 @@ gc_sweep() } } } - for (i = j = 0; j < heaps_used; i++) { + for (i = j = 1; j < heaps_used; i++) { if (heaps_limits[i] == 0) { free(heaps[i]); heaps_used--; |