Merge "use calloc() instead of malloc()"