calloc refs instead of malloc'ing them

let's `calloc` this struct.  more futureproof than #1565.