From: Steinar H. Gunderson Date: Sun, 30 Sep 2007 00:08:01 +0000 (+0000) Subject: Fix a memory leak that I recently inadvertedly introduced. X-Git-Tag: curl-7_17_1~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c145fbea49af558c750b29efa783312bf762a016;p=thirdparty%2Fcurl.git Fix a memory leak that I recently inadvertedly introduced. --- diff --git a/ares/ares_gethostbyname.c b/ares/ares_gethostbyname.c index 336481db54..b5f0e4236c 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,