Freeglob is not read again, just free.
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:24:05 +0000 (17:24 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:24:05 +0000 (17:24 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923 ec53bebd-3082-4978-b11e-865c3cabbd6b

appl/ftp/ftpd/ftpd.c

index 9b5cdc0d267e22c4a0db86c32c36ee6426e71241..10cf68421225184528d03a22c8e420ae6d919c54 100644 (file)
@@ -2327,10 +2327,8 @@ out:
     }
     data = -1;
     pdata = -1;
-    if (freeglob) {
-       freeglob = 0;
+    if (freeglob)
        globfree(&gl);
-    }
 }