Best practices: malloc + memset -> calloc
Best practices: g_malloc + memset -> g_malloc0
Best practices: g_malloc0(c * sizeof(y)) -> g_malloc0_n(c, sizeof(y))