Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4886b38d authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4 crypto: clean up error handling in ext4_fname_setup_filename



Fix a potential memory leak where fname->crypto_buf.name wouldn't get
freed in some error paths, and also make the error handling easier to
understand/audit.

Change-Id: I251041ff2df61dcc2a818539783cfc0de2e2933a
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarTheodore Ts'o <tytso@google.com>
parent a62b91c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment