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:
Konstantin Komarov 2026-07-30 10:42:58 +02:00
commit 194491be54
No known key found for this signature in database
GPG key ID: A9B0331F832407B6