diff options
-rw-r--r-- | tdecore/malloc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/malloc/malloc.c b/tdecore/malloc/malloc.c index 5cdab5ac7..0c02ee307 100644 --- a/tdecore/malloc/malloc.c +++ b/tdecore/malloc/malloc.c @@ -4306,7 +4306,7 @@ static Void_t** iALLOc(n_elements, sizes, opts, chunks) size_t n_elements; size_ 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 */ |