summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-02-25 16:17:16 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-02-25 16:17:16 (GMT)
commitf8f2edda8715ea332ecf36f0b07d45d662f9a9ff (patch)
tree2a5e0752388ff238b442209e351b546d33330e96 /generic/tclLoad.c
parentac30665488b084dc91b7b4510921184a00e7ac51 (diff)
downloadtcl-f8f2edda8715ea332ecf36f0b07d45d662f9a9ff.zip
tcl-f8f2edda8715ea332ecf36f0b07d45d662f9a9ff.tar.gz
tcl-f8f2edda8715ea332ecf36f0b07d45d662f9a9ff.tar.bz2
Missed a pointer dereference in check for NULL. D'oh! [904307]
Diffstat (limited to 'generic/tclLoad.c')
-rw-r--r--generic/tclLoad.c4
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) {