1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

curl_share_setopt: va_end was not called if conncache errors

CID 984459, detected by Coverity
This commit is contained in:
Daniel Stenberg 2017-11-10 14:59:19 +01:00
parent 2671f5f7cf
commit 3619ee5feb
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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: