]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
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/ares_gethostbyname.c

index 336481db5430dc6e6c14c28c8a4fcd42159076ac..b5f0e4236c6c99726f41ecd5771698e2a2e39afd 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,