--- ./ext/ruby_debug/ruby_debug.c.gcc47 1970-01-01 09:00:00.000000000 +0900 +++ ./ext/ruby_debug/ruby_debug.c 2012-05-03 12:35:31.000000000 +0900 @@ -490,7 +490,7 @@ if(frame_n >= debug_context->stack_len) { debug_context->stack_len += STACK_SIZE_INCREMENT; - debug_context->frames = REALLOC_N(debug_context->frames, debug_frame_t, debug_context->stack_len); + REALLOC_N(debug_context->frames, debug_frame_t, debug_context->stack_len); } debug_frame = &debug_context->frames[frame_n]; debug_frame->file = file;