1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

ftp: removed an erroneous free in an OOM path

This commit is contained in:
Dan Fandrich 2017-02-25 21:47:27 +01:00
parent ce9ba3ba10
commit 79221d8d50

View File

@ -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;
}