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 | 046061d0332ac3bd43e5738a81f79552727a1eb4 (patch) | |
tree | a63241e4140156b843a981d9e626356e51905210 /gc.c | |
parent | b92ae42f564039f2723583f2cf46e0dd0e6bb4a3 (diff) | |
download | ruby-046061d0332ac3bd43e5738a81f79552727a1eb4.tar.gz ruby-046061d0332ac3bd43e5738a81f79552727a1eb4.tar.xz ruby-046061d0332ac3bd43e5738a81f79552727a1eb4.zip |
* 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: http://svn.ruby-lang.org/repos/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--; |