summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--macosx/tkMacOSXScrlbr.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a788de0..40ebfd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-14 Jim Ingham <jingham@apple.com>
+
+ * macosx/tkMacOSXScrlbr.c (ThumbActionProc): Missing Tcl_Release.
+
2005-05-14 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXInit.c:
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();
}