From 57b6d16548b876823da07022470077b92bb138a3 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 10 Nov 2019 15:16:53 +0100 Subject: fs-tests: don't leak temporary buffers Signed-off-by: David Oberhollenzer --- tests/fs-tests/simple/perf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/fs-tests') 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 */ -- cgit v1.2.3