summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko@kernel.org>2024-05-20 02:31:53 +0300
committerJarkko Sakkinen <jarkko@kernel.org>2024-05-21 02:35:10 +0300
commitffcaa2172cc1a85ddb8b783de96d38ca8855e248 (patch)
treebda8eb49bd902c3df46cce6d358c77178ed4f63c /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent8f6a15f095a63a83b096d9b29aaff4f0fbe6f6e6 (diff)
downloadlinux-ffcaa2172cc1a85ddb8b783de96d38ca8855e248.tar.gz
linux-ffcaa2172cc1a85ddb8b783de96d38ca8855e248.tar.bz2
linux-ffcaa2172cc1a85ddb8b783de96d38ca8855e248.zip
KEYS: trusted: Fix memory leak in tpm2_key_encode()
'scratch' is never freed. Fix this by calling kfree() in the success, and in the error case. Cc: stable@vger.kernel.org # +v5.13 Fixes: f2219745250f ("security: keys: trusted: use ASN.1 TPM2 key format for the blobs") Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions