aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/tar/test/test_option_lrzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/tar/test/test_option_lrzip.c')
-rw-r--r--contrib/libarchive/tar/test/test_option_lrzip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libarchive/tar/test/test_option_lrzip.c b/contrib/libarchive/tar/test/test_option_lrzip.c
index d3486a3a27b7..11e9827e0405 100644
--- a/contrib/libarchive/tar/test/test_option_lrzip.c
+++ b/contrib/libarchive/tar/test/test_option_lrzip.c
@@ -45,8 +45,10 @@ DEFINE_TEST(test_option_lrzip)
testprog));
p = slurpfile(&s, "archive.err");
p[s] = '\0';
+ free(p);
/* Check that the archive file has an lzma signature. */
p = slurpfile(&s, "archive.out");
assert(s > 2);
assertEqualMem(p, "LRZI\x00", 5);
+ free(p);
}