mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:57:18 +03:00
openssl-quic: fix BIO leak and Windows warning
Caused by an accidentally duplicated line in
d6825df334.
```
.../lib/vquic/curl_osslq.c:1095:30: warning: implicit conversion loses integer precision: 'curl_socket_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
1095 | bio = BIO_new_dgram(ctx->q.sockfd, BIO_NOCLOSE);
| ~~~~~~~~~~~~~ ~~~~~~~^~~~~~
1 warning and 2 errors generated.
```
Reviewed-by: Stefan Eissing
Closes #13043
This commit is contained in:
parent
065faf2f93
commit
9c7768cd88
1 changed files with 0 additions and 1 deletions
|
|
@ -1092,7 +1092,6 @@ static CURLcode cf_osslq_ctx_start(struct Curl_cfilter *cf,
|
|||
#else
|
||||
bio = BIO_new_dgram(ctx->q.sockfd, BIO_NOCLOSE);
|
||||
#endif
|
||||
bio = BIO_new_dgram(ctx->q.sockfd, BIO_NOCLOSE);
|
||||
if(!bio) {
|
||||
result = CURLE_OUT_OF_MEMORY;
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue