From dfc7c08e44fcfee5def35f829551a7340e009779 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 18 Dec 2012 23:27:18 -0600 Subject: [PATCH] build_dentry_tree_ntfs(): Free memory for $Secure --- src/ntfs-capture.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ntfs-capture.c b/src/ntfs-capture.c index a5ce6dfa..b06bc9ce 100644 --- a/src/ntfs-capture.c +++ b/src/ntfs-capture.c @@ -722,6 +722,10 @@ out_cleanup: destroy_sd_set(&sd_set); out: + ntfs_index_ctx_put(vol->secure_xsii); + ntfs_index_ctx_put(vol->secure_xsdh); + ntfs_inode_close(vol->secure_ni); + if (ret) { if (ntfs_umount(vol, FALSE) != 0) { ERROR_WITH_ERRNO("Failed to unmount NTFS volume `%s'", -- 2.46.1