[FTP]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 31 Oct 2014 10:40:48 +0000 (10:40 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 31 Oct 2014 10:40:48 +0000 (10:40 +0000)
* Plug a leak. CID 513875.
CORE-7975

svn path=/trunk/; revision=65138

reactos/base/applications/network/ftp/ftp.c

index 6db667a..eef371d 100644 (file)
@@ -674,6 +674,7 @@ null();//   (void) signal(SIGINT, oldintr);
 null();//              (void) signal(SIGPIPE, oldintp);
        if (!cpend) {
                code = -1;
+               (*closefunc)(fin);
                return;
        }
        if (data >= 0) {