diff options
author | hobbs <hobbs> | 2008-04-07 23:12:04 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2008-04-07 23:12:04 (GMT) |
commit | 3ceb8b3a748eb425d00c78457e708542c57e488d (patch) | |
tree | 7f8187e38e1814d6419c84163a7cca4dd6c7d065 /generic | |
parent | 6a99f16c66d481f3d4d7bdbc3d35901b5057154e (diff) | |
download | tk-3ceb8b3a748eb425d00c78457e708542c57e488d.zip tk-3ceb8b3a748eb425d00c78457e708542c57e488d.tar.gz tk-3ceb8b3a748eb425d00c78457e708542c57e488d.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.c | 3 |
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); |