mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
smb/telnet: do not free the protocol struct in *_done()
It is managed by the generic layer. Reported-by: Trail of Bits Closes #10112
This commit is contained in:
parent
9e71901634
commit
4f20188ac6
2 changed files with 2 additions and 15 deletions
|
|
@ -1248,9 +1248,6 @@ static CURLcode telnet_done(struct Curl_easy *data,
|
|||
|
||||
curl_slist_free_all(tn->telnet_vars);
|
||||
tn->telnet_vars = NULL;
|
||||
|
||||
Curl_safefree(data->req.p.telnet);
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue