mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
crypto: fix memory leak issue
Using this patch we are fixing memory leak issue Bug 4064812 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: Ifd2e74e5d1b9b6cbd91a6ec65e45626066c9a1f5 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2888604 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c46d90ef1a
commit
f9a0264f89
@@ -2104,6 +2104,7 @@ static long tnvvse_crypto_dev_ioctl(struct file *filp,
|
|||||||
|
|
||||||
out:
|
out:
|
||||||
mutex_unlock(&ctx->lock);
|
mutex_unlock(&ctx->lock);
|
||||||
|
kfree(tsec_keyload_status);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user