]> Git Repo - uclibc-ng.git/commitdiff
Use MALLOC_HEADER_SIZE.
authorMiles Bader <[email protected]>
Wed, 31 Jul 2002 02:09:57 +0000 (02:09 -0000)
committerMiles Bader <[email protected]>
Wed, 31 Jul 2002 02:09:57 +0000 (02:09 -0000)
libc/stdlib/malloc/malloc.c

index 0e0c9ab57ece95674aceff0e35eb2e6dfead9df9..54e68a5f301d67df3d018359f8a4942d121f96f1 100644 (file)
@@ -41,7 +41,7 @@ malloc (size_t size)
   MALLOC_DEBUG ("malloc: %d bytes\n", size);
 
   /* Include extra space to record the size of the allocated block.  */
-  size += MALLOC_ROUND_UP (sizeof (size_t), MALLOC_ALIGNMENT);
+  size += MALLOC_HEADER_SIZE;
 
   __malloc_lock ();
 
This page took 0.029497 seconds and 4 git commands to generate.