mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Fix UB
This commit is contained in:
parent
7bc6d9ffe6
commit
ca19d61942
@ -643,8 +643,8 @@ using ::lsplant::IsHooked;
|
||||
LOGE("Unable to unhook a method that is not hooked");
|
||||
return false;
|
||||
}
|
||||
hooked_methods_.erase(it);
|
||||
hooked_methods_.erase(it->second.second);
|
||||
hooked_methods_.erase(it);
|
||||
}
|
||||
}
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user