diff options
author | hobbs <hobbs> | 2008-04-07 23:14:07 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2008-04-07 23:14:07 (GMT) |
commit | 59257a7e759c68d4ce7bab029b5cd897f70cc118 (patch) | |
tree | 5298d039bc3566059b995197193fa2754f150ea9 /generic | |
parent | 15df670329afab83951959ebd133f11e71345954 (diff) | |
download | tk-59257a7e759c68d4ce7bab029b5cd897f70cc118.zip tk-59257a7e759c68d4ce7bab029b5cd897f70cc118.tar.gz tk-59257a7e759c68d4ce7bab029b5cd897f70cc118.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 326f812..406eb7a 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.89.2.1 2008/04/02 04:05:13 dgp Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.89.2.2 2008/04/07 23:14:07 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); |