diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 05:37:43 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 05:37:43 +0000 |
commit | 62ad069c3a8fbd785e766274e02e348b1ec2fc6f (patch) | |
tree | 01d7ae2487693cabf78b3688de3efd9a1bc8fa95 /iseq.c | |
parent | 7ea3edc409dc6d383df9bc10d0034a6ecddb84dc (diff) | |
download | ruby-62ad069c3a8fbd785e766274e02e348b1ec2fc6f.tar.gz |
* iseq.c (iseq_free): fix memory leak.
rb_iseq_t::callinfo_entries should be freed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -84,6 +84,7 @@ iseq_free(void *ptr) RUBY_FREE_UNLESS_NULL(iseq->line_info_table); RUBY_FREE_UNLESS_NULL(iseq->local_table); RUBY_FREE_UNLESS_NULL(iseq->ic_entries); + RUBY_FREE_UNLESS_NULL(iseq->callinfo_entries); RUBY_FREE_UNLESS_NULL(iseq->catch_table); RUBY_FREE_UNLESS_NULL(iseq->arg_opt_table); RUBY_FREE_UNLESS_NULL(iseq->arg_keyword_table); |