Calloc does that already.