diff options
-rw-r--r-- | tools/ktest-randgen/ktest-randgen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/ktest-randgen/ktest-randgen.cpp b/tools/ktest-randgen/ktest-randgen.cpp index 4bf3e23c..19a4a0d6 100644 --- a/tools/ktest-randgen/ktest-randgen.cpp +++ b/tools/ktest-randgen/ktest-randgen.cpp @@ -114,7 +114,6 @@ void create_stat(size_t size, struct stat *s) { if (write(fd, memset(buf, 0, size), size) != (int)size) { free(buf); - free(filename); error_exit("%s:%d: Error writing %s\n", __FILE__, __LINE__, filename); } #if defined(__has_feature) |