1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-09-22 18:15:52 +00:00
parent 77f8b0db8d
commit e4fae8da4b
7 changed files with 45 additions and 10 deletions

View file

@ -1053,6 +1053,10 @@ rb_autoload_load(id)
VALUE module;
st_delete(autoload_tbl, &id, &modname);
if (rb_provided(modname)) {
free(modname);
return;
}
module = rb_str_new2(modname);
free(modname);
FL_UNSET(module, FL_TAINT);