--- MacRuby/trunk/gc.c 2010-09-28 14:01:57 UTC (rev 4551)
+++ MacRuby/trunk/gc.c 2010-09-28 22:32:14 UTC (rev 4552)
@@ -155,9 +155,6 @@
void *
ruby_xrealloc(void *ptr, size_t size)
{
- if (size < 0) {
- rb_raise(rb_eArgError, "negative re-allocation size");
- }
if (ptr == NULL) {
return ruby_xmalloc(size);
}