diff options
-rw-r--r-- | src/resolv/async_resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c index 268d266a..04651511 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -1051,7 +1051,7 @@ resolv_gethostbyname_dns_parse(struct gethostbyname_dns_state *state, * c-ares, but we need to handle it gracefully. */ if (state->rhostent->addr_list == NULL) { - talloc_free(state->rhostent); + talloc_zfree(state->rhostent); return ENOENT; } } |