Use calloc() for safety

Use calloc() for safety