Added fix for build error with malloc flag
Signed-off-by: ormorph <roma251078@mail.ru>pull/281/head
parent
38130ab9ba
commit
2eacb9e12a
@ -0,0 +1,11 @@
|
||||
--- 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 */
|
Loading…
Reference in New Issue