gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 191/205: http2: fix handle leak in error path


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 191/205: http2: fix handle leak in error path
Date: Thu, 20 Apr 2017 16:22:11 +0200

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

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

commit 1451271e08d838c547f52ea6a3805a662e3d18f6
Author: Larry Stefani <address@hidden>
AuthorDate: Thu Apr 13 10:06:14 2017 -0400

    http2: fix handle leak in error path
    
    Add missing newhandle free call in push_promise().
    
    Closes #1416
---
 lib/http2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/http2.c b/lib/http2.c
index 270be071d..264c66700 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -408,6 +408,7 @@ static int push_promise(struct Curl_easy *data,
     stream = data->req.protop;
     if(!stream) {
       failf(data, "Internal NULL stream!\n");
+      (void)Curl_close(newhandle);
       rv = 1;
       goto fail;
     }

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



reply via email to

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