aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ftp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index aa4d5ac2d..4d5d07a11 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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;
}