From e2bf2bdbcc5ecf0b8615c5b51aca79f180cbecbb Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 16 Jun 2005 06:23:47 +0000 Subject: * ext/tcltklib/tcltklib.c (ip_rb_threadVwaitCommand): Tcl_Release was missing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tcltklib/tcltklib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index 58d65ec22..7651084b2 100644 --- a/ext/tcltklib/tcltklib.c +++ b/ext/tcltklib/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 -- cgit