Change calloc to malloc