From 1d601de8bb5455525dcb87dc2d3821bce72ec747 Mon Sep 17 00:00:00 2001 From: nagai Date: Mon, 26 Jun 2006 09:41:34 +0000 Subject: * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is deleted on callback. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/tk/tcltklib.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bec3edde7..d9581687a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 26 18:37:44 2006 Hidetoshi NAGAI + + * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is + deleted on callback. + Sun Jun 25 23:02:12 2006 Nobuyoshi Nakada * Makefile.in, mkconfig.rb: catch-up for latest autoconf. diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index e9b553f35..0505dfd1a 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -5265,8 +5265,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; -- cgit