chg: use calloc

This commit is contained in:
iceman1001
2019-01-30 21:40:50 +01:00
parent 99b6087b01
commit ad72a424ef
15 changed files with 36 additions and 27 deletions

View File

@@ -209,7 +209,7 @@ static int compare_count_bitflip_bitarrays(const void *b1, const void *b2)
static voidpf inflate_malloc(voidpf opaque, uInt items, uInt size)
{
return malloc(items*size);
return calloc(items*size, sizeof(uint8_t));
}