aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_gethostbyname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares/ares_gethostbyname.c b/ares/ares_gethostbyname.c
index 336481db5..b5f0e4236 100644
--- a/ares/ares_gethostbyname.c
+++ b/ares/ares_gethostbyname.c
@@ -146,6 +146,7 @@ static void next_lookup(struct host_query *hquery)
break;
}
}
+ end_hquery(hquery, status, NULL);
}
static void host_callback(void *arg, int status, int timeouts,