mirror of
https://github.com/curl/curl.git
synced 2026-05-30 07:37:33 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue