From 76f6bbac93770023b7dad990ffd4a153266e8c64 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sun, 7 Sep 2008 23:59:27 +0000 Subject: Correct a leaking archive_entry in the test suite. --- lib/libarchive/test/test_write_disk_secure.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 -- cgit v1.1