summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-12-17 16:47:38 (GMT)
committernijtmans <nijtmans>2008-12-17 16:47:38 (GMT)
commitdcb8ef7e626e6c7c77eab05df47cdbe283830627 (patch)
treeba50f40b968690dbb883c23d9fe46b3b2f9659e6 /generic/tclZlib.c
parentcd7b89f85d8670ed80d6f13e0482c6f56be9d5fb (diff)
downloadtcl-dcb8ef7e626e6c7c77eab05df47cdbe283830627.zip
tcl-dcb8ef7e626e6c7c77eab05df47cdbe283830627.tar.gz
tcl-dcb8ef7e626e6c7c77eab05df47cdbe283830627.tar.bz2
move variable "length" inside if()
don't use ckfree((void *)...) but ckfree((char *)...)
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index cca035f..6115f41 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclZlib.c,v 1.13 2008/12/17 14:33:33 dkf Exp $
+ * RCS: @(#) $Id: tclZlib.c,v 1.14 2008/12/17 16:47:38 nijtmans Exp $
*/
#include "tclInt.h"
@@ -718,7 +718,7 @@ ZlibStreamCleanup(
Tcl_DecrRefCount(zsh->currentInput);
}
- ckfree((void *) zsh);
+ ckfree((char *) zsh);
}
/*