summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
diff options
context:
space:
mode:
authordas <das>2008-08-09 00:15:09 (GMT)
committerdas <das>2008-08-09 00:15:09 (GMT)
commit11ef0e666d8b0e8b4b098afaff89c54e923c7c7c (patch)
treec2ef24c646a4685a75dca663e12c236db37c4865 /generic/tclOOMethod.c
parent5c7cc56d32de30098fc443a2148de7a4c0479c2f (diff)
downloadtcl-11ef0e666d8b0e8b4b098afaff89c54e923c7c7c.zip
tcl-11ef0e666d8b0e8b4b098afaff89c54e923c7c7c.tar.gz
tcl-11ef0e666d8b0e8b4b098afaff89c54e923c7c7c.tar.bz2
(PushMethodCallFrame): fix uninitialized efi name field
Diffstat (limited to 'generic/tclOOMethod.c')
-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 {