Skip to content
Commit c906f38e authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Theodore Ts'o
Browse files

ext4: fix memleak in ext4_readdir()



When ext4_bread() fails, fname_crypto_str remains
allocated after return. Fix that.

Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
CC: Dmitry Monakhov <dmonakhov@virtuozzo.com>
parent 56263b4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment