summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-08-09 00:15:09 (GMT)
committerdas <das@noemail.net>2008-08-09 00:15:09 (GMT)
commit0f94ace14d7ede331be49e4834a8d9f8e2079709 (patch)
treec2ef24c646a4685a75dca663e12c236db37c4865 /generic
parente846243d22607020092e6324c7e3172c7e0dd7f7 (diff)
downloadtcl-0f94ace14d7ede331be49e4834a8d9f8e2079709.zip
tcl-0f94ace14d7ede331be49e4834a8d9f8e2079709.tar.gz
tcl-0f94ace14d7ede331be49e4834a8d9f8e2079709.tar.bz2
(PushMethodCallFrame): fix uninitialized efi name field
FossilOrigin-Name: d6b7e738875048cdf4755b4263bc9306cce82b7b
Diffstat (limited to 'generic')
-rw-r--r--generic/tclOOMethod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c
index 9cd2678..f17b09b 100644
--- a/generic/tclOOMethod.c
+++ b/generic/tclOOMethod.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclOOMethod.c,v 1.11 2008/07/29 05:30:37 msofer Exp $
+ * RCS: @(#) $Id: tclOOMethod.c,v 1.12 2008/08/09 00:15:09 das Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -820,6 +820,7 @@ PushMethodCallFrame(
fdPtr->efi.fields[0].proc = NULL;
fdPtr->efi.fields[0].clientData = fdPtr->nameObj;
if (pmPtr->gfivProc != NULL) {
+ fdPtr->efi.fields[1].name = "";
fdPtr->efi.fields[1].proc = pmPtr->gfivProc;
fdPtr->efi.fields[1].clientData = pmPtr;
} else {