fixed missing free of stack ary