1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nagai 2006-06-26 09:41:34 +00:00
parent e510c0e71f
commit 5f45a040b8
2 changed files with 5 additions and 2 deletions

View file

@ -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.

View file

@ -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;