if AllocArray was not set, won't this call delete on 0?