mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00: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
5a11817095
commit
9fc26722a4
@ -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