summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2008-04-07 23:12:04 (GMT)
committerhobbs <hobbs>2008-04-07 23:12:04 (GMT)
commit88e798159b9b1bb9dfe5ac8fd794bb3052b44b2c (patch)
tree7f8187e38e1814d6419c84163a7cca4dd6c7d065 /generic
parent332775c98ae86b043a99b52dab54728d5113230e (diff)
downloadtk-88e798159b9b1bb9dfe5ac8fd794bb3052b44b2c.zip
tk-88e798159b9b1bb9dfe5ac8fd794bb3052b44b2c.tar.gz
tk-88e798159b9b1bb9dfe5ac8fd794bb3052b44b2c.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 eb21177..4be22b9 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.2.14 2006/09/25 17:28:20 andreas_kupries Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.56.2.15 2008/04/07 23:12:10 hobbs Exp $
*/
#include "tkPort.h"
@@ -3067,7 +3067,6 @@ Initialize(interp)
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);