gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 72/116: curl_share_setopt: va_end was not called if


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 72/116: curl_share_setopt: va_end was not called if conncache errors
Date: Tue, 05 Dec 2017 14:51:42 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 3619ee5febb220de917db642352f9ea4fc3e7843
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Nov 10 14:59:19 2017 +0100

    curl_share_setopt: va_end was not called if conncache errors
    
    CID 984459, detected by Coverity
---
 lib/share.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/share.c b/lib/share.c
index c1ce1aab1..870b191fc 100644
--- a/lib/share.c
+++ b/lib/share.c
@@ -103,7 +103,7 @@ curl_share_setopt(struct Curl_share *share, CURLSHoption 
option, ...)
 
     case CURL_LOCK_DATA_CONNECT:     /* not supported (yet) */
       if(Curl_conncache_init(&share->conn_cache, 103))
-        return CURLSHE_NOMEM;
+        res = CURLSHE_NOMEM;
       break;
 
     default:

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



reply via email to

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