解决了double free的bug