From 79221d8d5020933bec22af3bb6f19a1bfdf0f188 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 25 Feb 2017 21:47:27 +0100 Subject: ftp: removed an erroneous free in an OOM path --- lib/ftp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') 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; } -- cgit v1.2.3