aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/tar/test/test_leading_slash.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/tar/test/test_leading_slash.c')
-rw-r--r--contrib/libarchive/tar/test/test_leading_slash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libarchive/tar/test/test_leading_slash.c b/contrib/libarchive/tar/test/test_leading_slash.c
index a8921ebcbae8..572c45e3cbb7 100644
--- a/contrib/libarchive/tar/test/test_leading_slash.c
+++ b/contrib/libarchive/tar/test/test_leading_slash.c
@@ -44,6 +44,7 @@ DEFINE_TEST(test_leading_slash)
if (assertFileExists("test.err")) {
errfile = slurpfile(&errfile_size, "test.err");
assert(strstr(errfile, expected_errmsg) != NULL);
+ free(errfile);
}
}