summaryrefslogtreecommitdiff
path: root/tests/fs-tests
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 15:16:53 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 15:30:04 +0100
commit57b6d16548b876823da07022470077b92bb138a3 (patch)
tree35e38daa29f41a510878fa3057980d4bc8dc8df3 /tests/fs-tests
parentef4241da48a95f0a90cbe79f0d0f7d7f2887c40c (diff)
fs-tests: don't leak temporary buffers
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests')
-rw-r--r--tests/fs-tests/simple/perf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fs-tests/simple/perf.c b/tests/fs-tests/simple/perf.c
index aee8226..224085f 100644
--- a/tests/fs-tests/simple/perf.c
+++ b/tests/fs-tests/simple/perf.c
@@ -151,6 +151,7 @@ static void perf(void)
printf("Write speed (KiB/s): %u\n", speed(actual_size, write_time));
printf("Read speed (KiB/s): %u\n", speed(actual_size, read_time));
printf("Test completed\n");
+ free(buf);
}
/* Title of this test */