* proc.c (mnew): initialize a field. a patch from Takahiro Kambe.

[ruby-dev:41312]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2010-05-16 13:52:12 +00:00
parent 8bd4d73e85
commit 0deda73c33
2 changed files with 6 additions and 0 deletions

1
proc.c
View file

@ -914,6 +914,7 @@ mnew(VALUE klass, VALUE obj, ID id, VALUE mclass, int scope)
def->alias_count = 0;
meb.flag = 0;
meb.mark = 0;
meb.called_id = id;
meb.klass = klass;
meb.def = def;