aboutsummaryrefslogtreecommitdiff
path: root/tests/libsqfs/xattr_benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsqfs/xattr_benchmark.c')
-rw-r--r--tests/libsqfs/xattr_benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libsqfs/xattr_benchmark.c b/tests/libsqfs/xattr_benchmark.c
index 918a636..072dd06 100644
--- a/tests/libsqfs/xattr_benchmark.c
+++ b/tests/libsqfs/xattr_benchmark.c
@@ -113,10 +113,10 @@ int main(int argc, char **argv)
}
/* cleanup */
- sqfs_destroy(xwr);
+ sqfs_drop(xwr);
return EXIT_SUCCESS;
fail:
- sqfs_destroy(xwr);
+ sqfs_drop(xwr);
return EXIT_FAILURE;
fail_arg:
fputs("Try `xattr_benchmark --help' for more information.\n", stderr);