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

Skip to content
Commit 6410dcb6 authored by Akhil P Oommen's avatar Akhil P Oommen
Browse files

msm: kgsl: Fix memory leak in _insert_gpuaddr()



There is a memory leak in _insert_gpuaddr() when a duplicate address
entry is found in the rb tree. Fix this by calling kmem_cache_free()
on the allocated memory.

Change-Id: Ia492d7cc523775bacc8a1fcfcd275fe922466e0b
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
parent b232a372
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