* load.c (load_failed): no need to guard fname, it's stored in the exception to be raised.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-03-07 05:22:43 +00:00
parent 81809e2756
commit 8e07edf364

1
load.c
View File

@ -594,7 +594,6 @@ static void
load_failed(VALUE fname)
{
rb_loaderror_with_path(fname, "cannot load such file -- %s", RSTRING_PTR(fname));
RB_GC_GUARD(fname);
}
static VALUE