I was thinking that since this is the first line, and everything is unallocated, that the check would mean that there is nothing to free, so I just jump to `err` instead of trying to free a NULL `carray`