Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Destroy options if ares_save_options fails
It's possible that, if ares_save_options failed, the opts structure would contain some allocated memory. Calling ares_destroy_options in this case is safe, because ares_save_options zeroes out the memory initially.
- Loading branch information