]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(fts_open): Remove useless but otherwise harmless malloc call.
authorJim Meyering <jim@meyering.net>
Fri, 20 May 2005 04:26:35 +0000 (04:26 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 20 May 2005 04:26:35 +0000 (04:26 +0000)
Spotted by Paul Eggert.

lib/fts.c

index 07737a11d63b54fadd37fa3de649c52a4ca30391..34249f373b58ec1da7b9ed1f1d2830e99cdfd393 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -424,7 +424,6 @@ fts_open (char * const *argv,
                                                 AD_compare, free);
            if (sp->active_dir_ht == NULL)
              goto mem3;
-           sp->cycle_state = malloc (sizeof *sp->cycle_state);
          }
        else
          {