Skip to content
Commit e5d574c5 authored by Daniel Gustafsson's avatar Daniel Gustafsson
Browse files

dns: release sharelock as soon as possible



There is no benefit to holding the data sharelock when freeing the
addrinfo in case it fails, so ensure releaseing it as soon as we can
rather than holding on to it. This also aligns the code with other
consumers of sharelocks.

Closes #3516
Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
parent 3f16990e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment