fixed free use when using alloca