diff options
author | wolfsuit <wolfsuit> | 2005-05-15 04:18:33 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2005-05-15 04:18:33 (GMT) |
commit | e81e874b2e30dc9f8ff2e37e37b0c7b9e10421f6 (patch) | |
tree | 58817963fdea135a28890ba64a353546322d7395 /macosx | |
parent | 4971eb57ab594edb08c319b6d90c915afa1ef72d (diff) | |
download | tk-e81e874b2e30dc9f8ff2e37e37b0c7b9e10421f6.zip tk-e81e874b2e30dc9f8ff2e37e37b0c7b9e10421f6.tar.gz tk-e81e874b2e30dc9f8ff2e37e37b0c7b9e10421f6.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.c | 3 |
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(); } |