1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Correct a leaking archive_entry in the test suite.

This commit is contained in:
Tim Kientzle 2008-09-07 23:59:27 +00:00
parent f8b329f0ed
commit fb7ec956eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182858

View File

@ -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