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:
parent
2671f5f7cf
commit
3619ee5feb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user