diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-23 09:48:01 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-23 09:48:01 +0000 |
commit | 530491c72fe537787ad3b0324aa6d6a61c87f0d3 (patch) | |
tree | c4976fb216ff9170250234c9617f10f1acc4dfbe /eval.c | |
parent | 3d699ae9ffc32665e8f9117c4149e2ae03123bdf (diff) |
thread_free
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5075,7 +5075,7 @@ thread_free(th) { if (th->stk_ptr) free(th->stk_ptr); th->stk_ptr = 0; - free(th); + if (th != main_thread) free(th); } static thread_t |