summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-07-16 22:54:07 (GMT)
committerhobbs <hobbs>2003-07-16 22:54:07 (GMT)
commit03f27a638c3dfbf52e7072f5f377f02ab644d527 (patch)
tree189eddd1d07906e4cd24f7872ccb12946ad57fbe /generic
parent4e99824af9badd7652bde7977a26df09e84bed53 (diff)
downloadtk-03f27a638c3dfbf52e7072f5f377f02ab644d527.zip
tk-03f27a638c3dfbf52e7072f5f377f02ab644d527.tar.gz
tk-03f27a638c3dfbf52e7072f5f377f02ab644d527.tar.bz2
* generic/tkWindow.c (Initialize): do not free uninit'ed dstring.
[Bug 755906] (mistachkin)
Diffstat (limited to 'generic')
-rw-r--r--generic/tkWindow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 401130b..e374c2f 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWindow.c,v 1.57 2003/05/19 13:04:24 vincentdarley Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.58 2003/07/16 22:54:08 hobbs Exp $
*/
#include "tkPort.h"
@@ -2953,7 +2953,6 @@ Initialize(interp)
while (1) {
master = Tcl_GetMaster(master);
if (master == NULL) {
- Tcl_DStringFree(&ds);
Tcl_AppendResult(interp, "NULL master", (char *) NULL);
Tcl_MutexUnlock(&windowMutex);
return TCL_ERROR;