tuxera/ntfs-3g

ntfscluster does not close inode when dumping info from path

mike309game opened this issue · 0 comments

When using ntfscluster to show info about a file path, the opened inode handle is not closed.

Simply changing

if (ino)
result = dump_file(vol, ino);

to

if (ino)
	result = dump_file(vol, ino);
	ntfs_inode_close(ino);

will properly close it.