diff options
author | das <das> | 2008-08-09 00:15:09 (GMT) |
---|---|---|
committer | das <das> | 2008-08-09 00:15:09 (GMT) |
commit | 11ef0e666d8b0e8b4b098afaff89c54e923c7c7c (patch) | |
tree | c2ef24c646a4685a75dca663e12c236db37c4865 | |
parent | 5c7cc56d32de30098fc443a2148de7a4c0479c2f (diff) | |
download | tcl-11ef0e666d8b0e8b4b098afaff89c54e923c7c7c.zip tcl-11ef0e666d8b0e8b4b098afaff89c54e923c7c7c.tar.gz tcl-11ef0e666d8b0e8b4b098afaff89c54e923c7c7c.tar.bz2 |
(PushMethodCallFrame): fix uninitialized efi name field
-rw-r--r-- | generic/tclOOMethod.c | 3 |
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 { |