mirror of
https://github.com/curl/curl.git
synced 2026-05-15 00:06:20 +03:00
ftp: removed an erroneous free in an OOM path
This commit is contained in:
parent
ce9ba3ba10
commit
79221d8d50
1 changed files with 0 additions and 1 deletions
|
|
@ -4283,7 +4283,6 @@ CURLcode ftp_parse_url_path(struct connectdata *conn)
|
|||
&ftpc->dirs[ftpc->dirdepth], NULL,
|
||||
TRUE);
|
||||
if(result) {
|
||||
free(ftpc->dirs[ftpc->dirdepth]);
|
||||
freedirs(ftpc);
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue