You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
383 B
12 lines
383 B
--- a/tdecore/malloc/malloc.c
|
|
+++ b/tdecore/malloc/malloc.c
|
|
@@ -4306,7 +4306,7 @@
|
|
remainder_size = chunksize(p);
|
|
|
|
if (opts & 0x2) { /* optionally clear the elements */
|
|
- memset(mem, 0, remainder_size - SIZE_SZ - array_size)
|
|
+ memset(mem, 0, remainder_size - SIZE_SZ - array_size);
|
|
}
|
|
|
|
/* If not provided, allocate the pointer array as final part of chunk */
|