mirror of
https://github.com/curl/curl.git
synced 2026-07-26 00:57:15 +03:00
parent
d3b04e5600
commit
bcd0497c81
19 changed files with 41 additions and 80 deletions
|
|
@ -199,10 +199,8 @@ void Curl_wildcard_dtor(struct WildcardData **wcp)
|
|||
DEBUGASSERT(wc->ftpwc == NULL);
|
||||
|
||||
Curl_llist_destroy(&wc->filelist, NULL);
|
||||
curlx_free(wc->path);
|
||||
wc->path = NULL;
|
||||
curlx_free(wc->pattern);
|
||||
wc->pattern = NULL;
|
||||
curlx_safefree(wc->path);
|
||||
curlx_safefree(wc->pattern);
|
||||
wc->state = CURLWC_INIT;
|
||||
curlx_free(wc);
|
||||
*wcp = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue