Permalink
Browse files

* 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
  • Loading branch information...
1 parent 7a83297 commit 02ff09770569a4ed74daab731376cb01925312e5 @authorNari authorNari committed Mar 24, 2013
Showing with 6 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +1 −0 proc.c
View
@@ -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
View
1 proc.c
@@ -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;

0 comments on commit 02ff097

Please sign in to comment.