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

Skip to content
Commit ccb18ded authored by Greg Kaiser's avatar Greg Kaiser
Browse files

SecurityManager: Don't use iterator after erase()

After we erase() 'entry', it is invalidated.  So we cache
entry->second prior to the erase() call, to avoid using
'entry' after erase.

Test: TreeHugger
Change-Id: Icb470cd79bbf1bfda12c2f882c3553fd33755554
parent e0f9b01e
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