summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdelibs/files/tdelibs-malloc.patch
blob: 9e4ebeb55b548ec156090e5618329404dce127cc (plain)
1
2
3
4
5
6
7
8
9
10
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 */