summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 953f9b2..8493d5a 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclProc.c,v 1.23.6.3 2002/11/26 19:48:57 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.23.6.4 2003/05/07 16:01:32 andreas_kupries Exp $
*/
#include "tclInt.h"
@@ -1341,6 +1341,7 @@ TclCloneProc (interp, nsPtr, procSrcPtr)
Tcl_GetHashKey (procSrcPtr->cmdPtr->hPtr->tablePtr,
procSrcPtr->cmdPtr->hPtr));
if (result != TCL_OK) {
+ ckfree((char*)procNew);
return NULL;
}