Fix a memory leak that I recently inadvertedly introduced.
authorSteinar H. Gunderson <sesse@google.com>
Sun, 30 Sep 2007 00:08:01 +0000 (00:08 +0000)
committerSteinar H. Gunderson <sesse@google.com>
Sun, 30 Sep 2007 00:08:01 +0000 (00:08 +0000)
ares_gethostbyname.c

index 336481d..b5f0e42 100644 (file)
@@ -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,