mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
fs/ntfs3: Fix memory leak in indx_find_sort()
When popping a level from the index lookup stack, indx_find_sort() frees the struct indx_node but not the index buffer it owns. Every call that descends and then pops a level leaks that allocation. Free n->index before freeing the node itself. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
parent
6f7b9dbdc1
commit
194491be54
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue