From 3755bffcc2fd3b031e6ea9c51e0d2e9949f8c3ce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 23 Apr 2004 14:04:30 +0000 Subject: [PATCH] Gisle Vanem found and fixed a memory leak when doing (failing) Windows threaded name resolves. --- CHANGES | 3 +++ lib/hostip.c | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 29262e27e..09b7482cc 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,9 @@ Changelog Daniel (23 April 2004) +- Gisle Vanem found and fixed a memory leak when doing (failing) Windows + threaded name resolves. + - I also added test case 163 just to make sure -F "var=async); + destroy_thread_data(&conn->async); + + if (CURLE_OK != rc) /* close the connection, since we can't return failure here without cleaning up this connection properly */ Curl_disconnect(conn); - } + return (rc); }