summaryrefslogtreecommitdiff
path: root/tar/test
diff options
context:
space:
mode:
authorNgie Cooper <yanegomi@gmail.com>2016-12-10 16:38:02 -0800
committerNgie Cooper <yanegomi@gmail.com>2016-12-10 17:16:46 -0800
commit8420751b2372bf761d89893118da0eca3740de12 (patch)
tree817d8b36f0caf99b7c62a1bda68861e3444e4492 /tar/test
parent067829f98b903e5c9021d4056aeff43cca27e59e (diff)
downloadlibarchive-8420751b2372bf761d89893118da0eca3740de12.tar.gz
Free `testprog_ustar` when done
Reported by: Coverity CID: 1355330
Diffstat (limited to 'tar/test')
-rw-r--r--tar/test/test_option_b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tar/test/test_option_b.c b/tar/test/test_option_b.c
index 7c2f6047..0eee80d8 100644
--- a/tar/test/test_option_b.c
+++ b/tar/test/test_option_b.c
@@ -78,4 +78,6 @@ DEFINE_TEST(test_option_b)
* Note: It's not possible to verify at this level that blocks
* are getting written with the
*/
+
+ free(testprog_ustar);
}