diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-26 09:41:34 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-26 09:41:34 +0000 |
commit | 5f45a040b8b21d75a5887c8846b7d2d76994d04a (patch) | |
tree | 11086f639299f8812b60ca45bb75b67c6e5ccd7d | |
parent | e510c0e71f365afcb79340a4002f652be671443a (diff) |
* ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is deleted
on callback.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/tk/tcltklib.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is + deleted on callback. + Mon Jun 26 10:47:42 2006 Yukihiro Matsumoto <matz@ruby-lang.org> * io.c (pipe_open): avoid closing uninitialized file descriptors. diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index e43b98e2c1..b9e8591250 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -5269,8 +5269,6 @@ ip_delete(self) Tcl_DeleteInterp(ptr->ip); Tcl_Release(ptr->ip); - ptr->ip = (Tcl_Interp*)NULL; - rb_thread_critical = thr_crit_bup; return Qnil; |