gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 121/173: http_proxy: Fix tiny memory leak upon edge


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 121/173: http_proxy: Fix tiny memory leak upon edge case connecting to proxy
Date: Fri, 24 Feb 2017 14:02:23 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit 7fe81ec298e09d542a268c70361ae2d1f0b29f79
Author: Cameron MacMinn <address@hidden>
AuthorDate: Wed Feb 8 11:14:36 2017 -0700

    http_proxy: Fix tiny memory leak upon edge case connecting to proxy
    
    Fixes #1255
---
 lib/http_proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index e0213f34d..ac1b3bf93 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -248,7 +248,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
                            useragent,
                            proxyconn);
 
-        if(host && *host)
+        if(host)
           free(host);
         free(hostheader);
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]