1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* proc.c (bm_free): need to clean up the mark flag of a free and

unlinked method entry. [Bug #8100] [ruby-core:53439]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nari 2013-03-24 17:15:54 +00:00
parent 7a8329737a
commit 02ff097705
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Mar 25 02:01:03 2013 Narihiro Nakamura <authornari@gmail.com>
* proc.c (bm_free): need to clean up the mark flag of a free and
unlinked method entry. [Bug #8100] [ruby-core:53439]
Sun Mar 24 22:13:51 2013 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (rb_str_rpartition): revert r39903, and convert byte offset

1
proc.c
View file

@ -905,6 +905,7 @@ bm_free(void *ptr)
{
struct METHOD *data = ptr;
struct unlinked_method_entry_list_entry *ume = data->ume;
data->me->mark = 0;
ume->me = data->me;
ume->next = GET_VM()->unlinked_method_entry_list;
GET_VM()->unlinked_method_entry_list = ume;