summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-24 17:15:54 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-24 17:15:54 +0000
commit02ff09770569a4ed74daab731376cb01925312e5 (patch)
tree184403319fd12a5f4382ad5ba66ce777eb55d1df /proc.c
parent7a8329737aa011dd5624a1151c392d913457961e (diff)
* 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
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index fe2280f84d..fe1bbff00d 100644
--- a/proc.c
+++ b/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;