Just for reference, `calloc` always initializes the memory that it allocates to zero, so `memset` is not necessary.