Fixed auto_ptr<> not to be used with new[].