summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorwolfsuit <wolfsuit>2005-05-15 04:18:33 (GMT)
committerwolfsuit <wolfsuit>2005-05-15 04:18:33 (GMT)
commitd37684e3166d0c9986993a276e65a1572d103a01 (patch)
tree58817963fdea135a28890ba64a353546322d7395 /macosx
parent960c0c6bb29407c5e4328447895eefdbbf030ec6 (diff)
downloadtk-d37684e3166d0c9986993a276e65a1572d103a01.zip
tk-d37684e3166d0c9986993a276e65a1572d103a01.tar.gz
tk-d37684e3166d0c9986993a276e65a1572d103a01.tar.bz2
Add a missing Tcl_Release to ThumbActionProc. Thanks to Micheal Kirkham for
pointing this out.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXScrlbr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c
index 582643f..3746d7f 100644
--- a/macosx/tkMacOSXScrlbr.c
+++ b/macosx/tkMacOSXScrlbr.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXScrlbr.c,v 1.10 2005/03/15 02:11:55 wolfsuit Exp $
+ * RCS: @(#) $Id: tkMacOSXScrlbr.c,v 1.11 2005/05/15 04:18:36 wolfsuit Exp $
*/
#include "tkScrollbar.h"
@@ -674,6 +674,7 @@ ThumbActionProc()
interp = scrollPtr->interp;
Tcl_Preserve((ClientData) interp);
Tcl_GlobalEval(interp, cmdString.string);
+ Tcl_Release ((ClientData) interp);
TclServiceIdle();
}