LWIS: fix use-after-free in lwis_top_event_unsubscribe
That way is to store the pointer contents before freeing p.
Bug: 187182957
Test: GCA, CTS, camera checklist
Signed-off-by:
Nick Chung <nickchung@google.com>
Change-Id: I202da15f0ba21bb0b9a7d5af94a2ec0ee00339e0
Loading
Please sign in to comment