mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
easy: fix build with --disable-form-api and --disable-mime
Follow-up to 44312b4b11
Closes #20332
This commit is contained in:
parent
fd82773820
commit
65714f8130
2 changed files with 6 additions and 1 deletions
|
|
@ -175,8 +175,10 @@ void Curl_freeset(struct Curl_easy *data)
|
|||
Curl_bufref_free(&data->state.referer);
|
||||
Curl_bufref_free(&data->state.url);
|
||||
|
||||
#if !defined(CURL_DISABLE_MIME) || !defined(CURL_DISABLE_FORM_API)
|
||||
Curl_mime_cleanpart(data->set.mimepostp);
|
||||
Curl_safefree(data->set.mimepostp);
|
||||
#endif
|
||||
|
||||
#ifndef CURL_DISABLE_COOKIES
|
||||
curl_slist_free_all(data->state.cookielist);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue