aboutsummaryrefslogtreecommitdiff
path: root/libarchive/test/test_read_file_nonexistent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_read_file_nonexistent.c')
-rw-r--r--libarchive/test/test_read_file_nonexistent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_read_file_nonexistent.c b/libarchive/test/test_read_file_nonexistent.c
index 9494dbab6f4f..acb72a1e32cc 100644
--- a/libarchive/test/test_read_file_nonexistent.c
+++ b/libarchive/test/test_read_file_nonexistent.c
@@ -31,7 +31,7 @@ DEFINE_TEST(test_read_file_nonexistent)
assertEqualInt(ARCHIVE_OK, archive_read_support_format_all(a));
assertEqualInt(ARCHIVE_FATAL,
archive_read_open_filename(a, "notexistent.tar", 512));
- archive_read_finish(a);
+ archive_read_free(a);
}