git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5604fa7
)
build_dentry_tree_ntfs(): Free memory for $Secure
author
Eric Biggers
<ebiggers3@gmail.com>
Wed, 19 Dec 2012 05:27:18 +0000
(23:27 -0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Wed, 19 Dec 2012 05:27:33 +0000
(23:27 -0600)
src/ntfs-capture.c
patch
|
blob
|
history
diff --git
a/src/ntfs-capture.c
b/src/ntfs-capture.c
index a5ce6dfa9b14b4b4ecefa4c4e888763e8d827d4e..b06bc9cec4bca7dc6d65c4ba5dc58f3b1d66d689 100644
(file)
--- 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'",