(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 07737a1..34249f3 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
          {