summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2008-04-07 23:14:36 (GMT)
committerhobbs <hobbs>2008-04-07 23:14:36 (GMT)
commit336c6a7ae7557bae330981e3ff138b77bd428bfd (patch)
treedfaf40a6b54e37f82f0ae776839fe5fd63d377a5 /generic
parent96a6fac144d34cba9596355d01ac7983ed948f43 (diff)
downloadtk-336c6a7ae7557bae330981e3ff138b77bd428bfd.zip
tk-336c6a7ae7557bae330981e3ff138b77bd428bfd.tar.gz
tk-336c6a7ae7557bae330981e3ff138b77bd428bfd.tar.bz2
* generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgv
* tests/main.test (main-3.*): error. [Bug 1937135]
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 b021f49..854bb82 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.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: tkWindow.c,v 1.92 2008/04/02 04:06:38 dgp Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.93 2008/04/07 23:14:36 hobbs Exp $
*/
#include "tkInt.h"
@@ -3080,7 +3080,6 @@ Initialize(
if (Tk_ParseArgv(interp, (Tk_Window) NULL, &argc, argv,
argTable, TK_ARGV_DONT_SKIP_FIRST_ARG|TK_ARGV_NO_DEFAULTS)
!= TCL_OK) {
- ckfree((char *) argv);
goto argError;
}
p = Tcl_Merge(argc, argv);