aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/copy_file/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/copy_file/test.c b/tests/copy_file/test.c
index 44822378..aa0edaaa 100644
--- a/tests/copy_file/test.c
+++ b/tests/copy_file/test.c
@@ -72,6 +72,7 @@ int main(int argc, char *argv[])
assert(buf != NULL);
memset(buf, 0xaf, len);
testone(buf, len);
+ free(buf);
return 0;
}