diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-29 08:08:16 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-29 08:08:16 +0000 |
commit | 6c105b2dbfb56fcbcc77ed4b273e45908cfcbd50 (patch) | |
tree | 6c5d351eab06d9a153651f8e670faec009604fba /eval.c | |
parent | 7e2d146b099a9213dbfa806de0e311cb7d21876e (diff) | |
download | ruby-6c105b2dbfb56fcbcc77ed4b273e45908cfcbd50.tar.gz ruby-6c105b2dbfb56fcbcc77ed4b273e45908cfcbd50.tar.xz ruby-6c105b2dbfb56fcbcc77ed4b273e45908cfcbd50.zip |
* eval.c (rb_thread_start_0): forget to free some memory chunks.
[ruby-core:03611]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11473,6 +11473,10 @@ rb_thread_start_0(fn, arg, th) if (th == main_thread) ruby_stop(state); rb_thread_remove(th); + if (saved_block) { + blk_free(saved_block); + } + if (state && status != THREAD_TO_KILL && !NIL_P(ruby_errinfo)) { th->flags |= THREAD_RAISED; if (state == TAG_FATAL) { |