diff options
author | Steinar H. Gunderson <sesse@google.com> | 2007-09-30 00:08:01 +0000 |
---|---|---|
committer | Steinar H. Gunderson <sesse@google.com> | 2007-09-30 00:08:01 +0000 |
commit | 879f89a989777837cc983fa384f0b184b29f6e3f (patch) | |
tree | 4b47a86750e43590d63baea8191a72f9f302d468 /ares_gethostbyname.c | |
parent | 60519063eaa56914e1bf20eb8510030897f940c9 (diff) | |
download | c-ares-879f89a989777837cc983fa384f0b184b29f6e3f.tar.gz c-ares-879f89a989777837cc983fa384f0b184b29f6e3f.tar.bz2 c-ares-879f89a989777837cc983fa384f0b184b29f6e3f.zip |
Fix a memory leak that I recently inadvertedly introduced.
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r-- | ares_gethostbyname.c | 1 |
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, |