From 879f89a989777837cc983fa384f0b184b29f6e3f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 30 Sep 2007 00:08:01 +0000 Subject: [PATCH] Fix a memory leak that I recently inadvertedly introduced. --- ares_gethostbyname.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c index 336481d..b5f0e42 100644 --- a/ares_gethostbyname.c +++ b/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, -- 2.7.4