* 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:
parent
81809e2756
commit
8e07edf364
1
load.c
1
load.c
@ -594,7 +594,6 @@ static void
|
|||||||
load_failed(VALUE fname)
|
load_failed(VALUE fname)
|
||||||
{
|
{
|
||||||
rb_loaderror_with_path(fname, "cannot load such file -- %s", RSTRING_PTR(fname));
|
rb_loaderror_with_path(fname, "cannot load such file -- %s", RSTRING_PTR(fname));
|
||||||
RB_GC_GUARD(fname);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user