Unverified Commit 3619ee5f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl_share_setopt: va_end was not called if conncache errors

CID 984459, detected by Coverity
parent 2671f5f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: