summaryrefslogtreecommitdiff
path: root/ares_gethostbyname.c
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-09-30 00:08:01 (GMT)
committerSteinar H. Gunderson <sesse@google.com>2007-09-30 00:08:01 (GMT)
commit879f89a989777837cc983fa384f0b184b29f6e3f (patch)
tree4b47a86750e43590d63baea8191a72f9f302d468 /ares_gethostbyname.c
parent60519063eaa56914e1bf20eb8510030897f940c9 (diff)
downloadc-ares-879f89a989777837cc983fa384f0b184b29f6e3f.zip
c-ares-879f89a989777837cc983fa384f0b184b29f6e3f.tar.gz
c-ares-879f89a989777837cc983fa384f0b184b29f6e3f.tar.bz2
Fix a memory leak that I recently inadvertedly introduced.
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r--ares_gethostbyname.c1
1 files changed, 1 insertions, 0 deletions
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,