summaryrefslogtreecommitdiffstats
path: root/ext/tk
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 /ext/tk
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
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/tcltklib.c3
1 files changed, 2 insertions, 1 deletions
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