projects
/
blktrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove extraneous malloc in find_input routines
[blktrace.git]
/
btreplay
/
btrecord.c
diff --git
a/btreplay/btrecord.c
b/btreplay/btrecord.c
index 88ab806d33f898e965c94c480980556f591b68bd..36462579251e18636739d2aa5208109f0551e58f 100644
(file)
--- a/
btreplay/btrecord.c
+++ b/
btreplay/btrecord.c
@@
-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;