summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-16 06:22:19 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-16 06:22:19 +0000
commitef39a9ece9f1aac8233af65abaf2e39823eb39c3 (patch)
treedb1783383d2622f85fe464fd265f6efca7a9f892
parent3dd711304c746babd348d2a3463413c066a6cb47 (diff)
downloadruby-ef39a9ece9f1aac8233af65abaf2e39823eb39c3.tar.gz
ruby-ef39a9ece9f1aac8233af65abaf2e39823eb39c3.tar.xz
ruby-ef39a9ece9f1aac8233af65abaf2e39823eb39c3.zip
* ext/tk/tcltklib.c (ip_rb_threadVwaitCommand): Tcl_Release was missing.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/tk/tcltklib.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d74efde9..3f21815a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 16 15:09:38 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
+
+ * ext/tk/tcltklib.c (ip_rb_threadVwaitCommand): Tcl_Release was missing.
+
Thu Jun 16 13:34:48 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk.rb: add Tk.getMultiple{Open|Save}File() which return
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c
index 58d65ec22..7651084b2 100644
--- a/ext/tk/tcltklib.c
+++ b/ext/tk/tcltklib.c
@@ -4,7 +4,7 @@
* Oct. 24, 1997 Y. Matsumoto
*/
-#define TCLTKLIB_RELEASE_DATE "2005-04-26"
+#define TCLTKLIB_RELEASE_DATE "2005-06-16"
#include "ruby.h"
#include "rubysig.h"
@@ -3930,6 +3930,7 @@ ip_rb_threadVwaitCommand(clientData, interp, objc, objv)
rb_thread_critical = thr_crit_bup;
if (ret != TCL_OK) {
+ Tcl_Release(param);
Tcl_Free((char *)param);
#if TCL_MAJOR_VERSION >= 8