Ops.. meant to use alloca intead of calloc.