summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-07-16 22:54:26 (GMT)
committerhobbs <hobbs>2003-07-16 22:54:26 (GMT)
commit89d00a186dd9ce50cda0d56045a44c19e122b581 (patch)
treec46d3547fc6ffb6537a96bc707397632b81a8b8d /generic/tkWindow.c
parentb223cc791cdfd0a94463c92bf0e3a45aebb8b809 (diff)
downloadtk-89d00a186dd9ce50cda0d56045a44c19e122b581.zip
tk-89d00a186dd9ce50cda0d56045a44c19e122b581.tar.gz
tk-89d00a186dd9ce50cda0d56045a44c19e122b581.tar.bz2
* generic/tkWindow.c (Initialize): do not free uninit'ed dstring.
[Bug 755906] (mistachkin)
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index c1e6499..4fc47fd 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.56 2003/01/28 20:39:17 jenglish Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.56.2.1 2003/07/16 22:54:26 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;