diff options
author | dkf <dkf@noemail.net> | 2004-02-25 16:17:16 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2004-02-25 16:17:16 (GMT) |
commit | 6266e016dace32ec01d91fa631bbdc0949a76362 (patch) | |
tree | 2a5e0752388ff238b442209e351b546d33330e96 /generic/tclLoad.c | |
parent | 763629e167ee143c0f7694472f5036ac6b8a762d (diff) | |
download | tcl-6266e016dace32ec01d91fa631bbdc0949a76362.zip tcl-6266e016dace32ec01d91fa631bbdc0949a76362.tar.gz tcl-6266e016dace32ec01d91fa631bbdc0949a76362.tar.bz2 |
Missed a pointer dereference in check for NULL. D'oh! [904307]
FossilOrigin-Name: 53abe2083855353ca573db7554e6a65a138a85cf
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r-- | generic/tclLoad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclLoad.c b/generic/tclLoad.c index 5be526c..39a5833 100644 --- a/generic/tclLoad.c +++ b/generic/tclLoad.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoad.c,v 1.11 2004/02/24 22:58:48 dkf Exp $ + * RCS: @(#) $Id: tclLoad.c,v 1.12 2004/02/25 16:17:17 dkf Exp $ */ #include "tclInt.h" @@ -376,7 +376,7 @@ Tcl_LoadObjCmd(dummy, interp, objc, objv) if (code != TCL_OK) { goto done; } - if (procPtrs[0] /* initProc */ == NULL) { + if (*procPtrs[0] /* initProc */ == NULL) { Tcl_AppendResult(interp, "couldn't find procedure ", Tcl_DStringValue(&initName), (char *) NULL); if (unLoadProcPtr != NULL) { |