[前][次][番号順一覧][スレッド一覧]

ruby-changes:39823

From: ko1 <ko1@a...>
Date: Sun, 20 Sep 2015 03:21:51 +0900 (JST)
Subject: [ruby-changes:39823] ko1:r51904 (trunk): * iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.

ko1	2015-09-20 03:21:35 +0900 (Sun, 20 Sep 2015)

  New Revision: 51904

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51904

  Log:
    * iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51903)
+++ ChangeLog	(revision 51904)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Sep 20 03:20:21 2015  Koichi Sasada  <ko1@a...>
+
+	* iseq.c (rb_iseq_free): free rb_iseq_t::body::cc_entries.
+
 Sun Sep 20 02:46:34 2015  Koichi Sasada  <ko1@a...>
 
 	* vm_core.h: split rb_call_info_t into several structs.
Index: iseq.c
===================================================================
--- iseq.c	(revision 51903)
+++ iseq.c	(revision 51904)
@@ -82,6 +82,7 @@ rb_iseq_free(const rb_iseq_t *iseq) https://github.com/ruby/ruby/blob/trunk/iseq.c#L82
 		ruby_xfree((void *)kw_arg);
 	    }
 	    ruby_xfree(iseq->body->ci_entries);
+	    ruby_xfree(iseq->body->cc_entries);
 	}
 	ruby_xfree((void *)iseq->body->catch_table);
 	ruby_xfree((void *)iseq->body->param.opt_table);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]