diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-02-25 21:47:27 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-02-25 21:47:27 +0100 |
commit | 79221d8d5020933bec22af3bb6f19a1bfdf0f188 (patch) | |
tree | f7a96fbf6e5ec80dbebd6979888d223ebd5a3ecc /lib/ftp.c | |
parent | ce9ba3ba1057725fe5f485de01294182841c2132 (diff) | |
download | curl-79221d8d5020933bec22af3bb6f19a1bfdf0f188.tar.gz |
ftp: removed an erroneous free in an OOM path
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 1 |
1 files changed, 0 insertions, 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; } |