summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-26 09:41:34 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-26 09:41:34 +0000
commit1d601de8bb5455525dcb87dc2d3821bce72ec747 (patch)
treef4fda42cf30fcaa525aa4e11f54a1e23f45f7ea8 /ext
parentef728bb3278cc8ff5b0bf383b011f6c942842fe0 (diff)
downloadruby-1d601de8bb5455525dcb87dc2d3821bce72ec747.tar.gz
ruby-1d601de8bb5455525dcb87dc2d3821bce72ec747.tar.xz
ruby-1d601de8bb5455525dcb87dc2d3821bce72ec747.zip
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/tk/tcltklib.c2
1 files changed, 0 insertions, 2 deletions
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;