Add implementation for align_calloc,
which is align_malloc + memset.
v2: add if (ptr) before memset.
Fix indentation.
Signed-off-by: Axel Davy
---
src/gallium/auxiliary/util/u_memory.h | 8
1 file changed, 8 insertions(+)
diff --git a/src/gallium/auxiliary/util/u_memory.h
b/src/galli
On 23.10.2016 12:23, Axel Davy wrote:
Add implementation for align_calloc,
which is align_malloc + memset.
v2: add if (ptr) before memset.
Fix indentation.
Signed-off-by: Axel Davy
Reviewed-by: Nicolai Hähnle
---
src/gallium/auxiliary/util/u_memory.h | 8
1 file changed, 8 inser