summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-08-12 14:40:00 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-08-12 14:40:00 (GMT)
commitefa688b6e4162c0ca4b41a86e5319422ed43adb8 (patch)
tree5b1f8bfc866a4ee34a781fdf3810f1c26056f16e /generic
parent6b79f6992ce81472621494c66d999cb6863d0c29 (diff)
downloadtcl-efa688b6e4162c0ca4b41a86e5319422ed43adb8.zip
tcl-efa688b6e4162c0ca4b41a86e5319422ed43adb8.tar.gz
tcl-efa688b6e4162c0ca4b41a86e5319422ed43adb8.tar.bz2
* generic/tcl_Obj.c (TclAllocateFreeObjects): remove unneeded
memset to 0 of all allocated objects.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclObj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 1e92cf2..c94228a 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclObj.c,v 1.131 2007/07/31 17:03:39 msofer Exp $
+ * RCS: @(#) $Id: tclObj.c,v 1.132 2007/08/12 14:40:01 msofer Exp $
*/
#include "tclInt.h"
@@ -791,7 +791,6 @@ TclAllocateFreeObjects(void)
*/
basePtr = (char *) ckalloc(bytesToAlloc);
- memset(basePtr, 0, bytesToAlloc);
prevPtr = NULL;
objPtr = (Tcl_Obj *) basePtr;