gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 06/205: ftp: removed an erroneous free in an OOM pa


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 06/205: ftp: removed an erroneous free in an OOM path
Date: Thu, 20 Apr 2017 16:19:06 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 79221d8d5020933bec22af3bb6f19a1bfdf0f188
Author: Dan Fandrich <address@hidden>
AuthorDate: Sat Feb 25 21:47:27 2017 +0100

    ftp: removed an erroneous free in an OOM path
---
 lib/ftp.c | 1 -
 1 file changed, 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]