about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-12 23:17:05 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-12 23:17:05 +0000
commit13f536d43955451fd236b211b6712dc924ab1e49 (patch)
treebb2752a9a29616826f4770c0834a8a2efd91d964 /malloc
parent92d2e18fa4f031c6a129aa5cfeaef59127ba3b1b (diff)
downloadglibc-13f536d43955451fd236b211b6712dc924ab1e49.tar.gz
glibc-13f536d43955451fd236b211b6712dc924ab1e49.tar.xz
glibc-13f536d43955451fd236b211b6712dc924ab1e49.zip
Update.
	* malloc/malloc.c: Undo all of today's changes.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 93feb07ecd..f674f4ebfe 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3738,7 +3738,7 @@ Void_t* cALLOc(n, elem_size) size_t n; size_t elem_size;
   }
 #endif
 
-  MALLOC_ZERO(mem, sz);
+  MALLOC_ZERO(mem, csz - SIZE_SZ);
   return mem;
 }