summaryrefslogtreecommitdiff
path: root/tar/test/test_option_lzma.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/test/test_option_lzma.c')
-rw-r--r--tar/test/test_option_lzma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tar/test/test_option_lzma.c b/tar/test/test_option_lzma.c
index a618ff8a..ab6f13f9 100644
--- a/tar/test/test_option_lzma.c
+++ b/tar/test/test_option_lzma.c
@@ -44,6 +44,7 @@ DEFINE_TEST(test_option_lzma)
if (strstr(p, "Unsupported compression") != NULL) {
skipping("This version of bsdtar was compiled "
"without lzma support");
+ free(p);
return;
}
failure("--lzma option is broken");