aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2007-09-30 00:08:01 +0000
committerSteinar H. Gunderson <sesse@google.com>2007-09-30 00:08:01 +0000
commitc145fbea49af558c750b29efa783312bf762a016 (patch)
treeaec333e02dee060846471db87304ffe93b49ebae /ares
parent84fcff79f4f254c24d06872e44203bedc2d97565 (diff)
Fix a memory leak that I recently inadvertedly introduced.
Diffstat (limited to 'ares')
-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,