summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-09-07 23:59:27 +0000
committerkientzle <kientzle@FreeBSD.org>2008-09-07 23:59:27 +0000
commit76f6bbac93770023b7dad990ffd4a153266e8c64 (patch)
tree16159e12afc863c7dff8dabfe29b9c41f6a9be5e /lib
parentacc06a9e28abf56ac36ad4282551e09b03dd112e (diff)
downloadFreeBSD-src-76f6bbac93770023b7dad990ffd4a153266e8c64.zip
FreeBSD-src-76f6bbac93770023b7dad990ffd4a153266e8c64.tar.gz
Correct a leaking archive_entry in the test suite.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/test/test_write_disk_secure.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/test/test_write_disk_secure.c b/lib/libarchive/test/test_write_disk_secure.c
index 308efa0..bcb0bf4 100644
--- a/lib/libarchive/test/test_write_disk_secure.c
+++ b/lib/libarchive/test/test_write_disk_secure.c
@@ -176,6 +176,7 @@ DEFINE_TEST(test_write_disk_secure)
/* Verify link was replaced. */
assertEqualInt(0, lstat("link_to_dir5", &st));
assert(S_ISDIR(st.st_mode));
+ archive_entry_free(ae);
#if ARCHIVE_VERSION_NUMBER < 2000000
OpenPOWER on IntegriCloud