mirror of
https://github.com/curl/curl.git
synced 2026-05-30 12:37:28 +03:00
url: fix builds with CURL_DISABLE_HTTP
Fixes:
```
./lib/url.c:456:35: error: no member named 'formp' in 'struct UrlState'
456 | Curl_mime_cleanpart(data->state.formp);
| ~~~~~~~~~~~ ^
```
Regression from 74b87a8af1 #11682
Closes #12343
This commit is contained in:
parent
4c1ef6d7bf
commit
47c00fce4e
1 changed files with 1 additions and 1 deletions
|
|
@ -453,8 +453,8 @@ CURLcode Curl_close(struct Curl_easy **datap)
|
|||
}
|
||||
#endif
|
||||
|
||||
Curl_mime_cleanpart(data->state.formp);
|
||||
#ifndef CURL_DISABLE_HTTP
|
||||
Curl_mime_cleanpart(data->state.formp);
|
||||
Curl_safefree(data->state.formp);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue