diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-05-25 23:23:36 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-05-25 23:23:36 +0000 |
commit | 721685a75951a3194d0d12e4096185dbd76b379c (patch) | |
tree | 85d96e92468c3e284d56a6b0bdcec9e88832ddb1 /net/icb/files/patch-o-aj | |
parent | MASTER_SITE_SUBDIR should have neither a leading nor a trailing slash. (diff) |
Internet CB - a chat client
Notes
Notes:
svn path=/head/; revision=11144
Diffstat (limited to 'net/icb/files/patch-o-aj')
-rw-r--r-- | net/icb/files/patch-o-aj | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/icb/files/patch-o-aj b/net/icb/files/patch-o-aj new file mode 100644 index 000000000000..760a3b4f0be4 --- /dev/null +++ b/net/icb/files/patch-o-aj @@ -0,0 +1,29 @@ +*** tcl/tclProc.c.orig Mon May 18 03:13:18 1998 +--- tcl/tclProc.c Mon May 18 03:14:36 1998 +*************** +*** 793,803 **** + */ + + procDone: +! for (argPtr = frame.varPtr; argPtr != NULL; argPtr = argPtr->nextPtr) { + if (argPtr->flags & VAR_DYNAMIC) { + free(argPtr->value); + } +! free((char *) argPtr); + } + iPtr->framePtr = frame.callerPtr; + iPtr->varFramePtr = frame.callerVarPtr; +--- 793,805 ---- + */ + + procDone: +! for (argPtr = frame.varPtr; argPtr != NULL;) { +! void *tmp = argPtr; + if (argPtr->flags & VAR_DYNAMIC) { + free(argPtr->value); + } +! argPtr = argPtr->nextPtr; +! free(tmp); + } + iPtr->framePtr = frame.callerPtr; + iPtr->varFramePtr = frame.callerVarPtr; |