aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/tar/test/test_stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/tar/test/test_stdio.c')
-rw-r--r--contrib/libarchive/tar/test/test_stdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libarchive/tar/test/test_stdio.c b/contrib/libarchive/tar/test/test_stdio.c
index 8d44dd6dffa5..7e53cb1b3fd5 100644
--- a/contrib/libarchive/tar/test/test_stdio.c
+++ b/contrib/libarchive/tar/test/test_stdio.c
@@ -116,6 +116,7 @@ DEFINE_TEST(test_stdio)
assertEqualInt((int)s, 3);
assertEqualMem(p, "abc", 3);
/* TODO: Verify xvf.err */
+ free(p);
/* 'xvf -' should generate list on stderr, empty stdout. */
r = systemf("%s xvf - < archive >xvf-.out 2>xvf-.err", testprog);