From 2ce866d4cde453cedfd4f4f17a52f251b49b4d28 Mon Sep 17 00:00:00 2001 From: jpandre Date: Mon, 15 Oct 2007 14:58:22 +0000 Subject: [PATCH] Fixed an error in closing security --- src/ntfs-3g.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index eb1c480e..8b7ea157 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -1831,8 +1831,9 @@ static void ntfs_fuse_destroy(void) / ctx->seccache->head.s_reads, 10 * ctx->seccache->head.s_hops / ctx->seccache->head.s_reads % 10); + } ntfs_close_secure(&security); - } } + } if (ntfs_umount(ctx->vol, FALSE)) ntfs_log_perror("Failed to cleanly unmount volume %s", opts.device);