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

Skip to content
Commit 0c7cfe49 authored by Neeraj Soni's avatar Neeraj Soni
Browse files

fs: crypto: Fix memory leak while allocating blk crypto key



In case of legaacy data encryption mode, block crypto key allocated
for file encryption was not freed when inode is evicted or destroyed
as crypto data do not own the key. So free the blk crpto key
explicitly in case legacy data encryption mode is used.

Change-Id: Ia860edc7c67516bf8fa47b6e3241ce068a09492b
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
parent e3e20132
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