Remove extraneous malloc in find_input routines
[blktrace.git] / btreplay / btrecord.c
index 88ab806d33f898e965c94c480980556f591b68bd..36462579251e18636739d2aa5208109f0551e58f 100644 (file)
@@ -365,7 +365,7 @@ static void find_input_files(char *idir)
        }
 
        while ((ent = readdir(dir)) != NULL) {
-               char *p, *dsf = malloc(256);
+               char *p, *dsf;
 
                if (strstr(ent->d_name, ".blktrace.") == NULL)
                        continue;