clients/simple-damage,simple-shm: Use calloc instead of malloc
This avoids some unwarranted errors about conditional jumps or invalid access from ASan as malloc doesn't set the memory to zero.
Signed-off-by: Marius Vlad marius.vlad@collabora.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
This avoids some unwarranted errors about conditional jumps or invalid access from ASan as malloc doesn't set the memory to zero.
Signed-off-by: Marius Vlad marius.vlad@collabora.com