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