mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 627355 - Don't dangle pointers to dead objects. r=dougt a=b-f
--HG-- extra : rebase_source : 1722718e4703ba8a1679e9db9df1b085b3e7535a
This commit is contained in:
parent
4c75a68a13
commit
e6d9127892
@ -128,6 +128,7 @@ nsContentPermissionRequestProxy::Allow()
|
||||
if (mParent == nsnull)
|
||||
return NS_ERROR_FAILURE;
|
||||
unused << mozilla::dom::ContentPermissionRequestParent::Send__delete__(mParent, true);
|
||||
mParent = nsnull;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user