From: Eric Biggers Date: Wed, 19 Dec 2012 05:27:18 +0000 (-0600) Subject: build_dentry_tree_ntfs(): Free memory for $Secure X-Git-Tag: v1.2.1~11 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=dfc7c08e44fcfee5def35f829551a7340e009779 build_dentry_tree_ntfs(): Free memory for $Secure --- 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'",