Commit f5e67a2f authored by Lynus Vaz's avatar Lynus Vaz Committed by Uma Maheshwari Bhiram
Browse files

msm: kgsl: Delete the context event while the context is still valid



Make sure that the context is freed only after the event is deleted
from the list to avoid accessing invalid list pointers. This makes
sure that the context memory is not accessed after being freed.

Change-Id: I9196219f1472396c0063dbeaa5351f66e6e5648f
Signed-off-by: default avatarLynus Vaz <lvaz@codeaurora.org>
Signed-off-by: default avatarUma Maheshwari Bhiram <ubhira@codeaurora.org>
parent d5f34c4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment