mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix SunOs bustage with a .get() on AutoMarkingPtr
This commit is contained in:
parent
3065fa3d85
commit
8c82e35ad2
@ -205,7 +205,7 @@ XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext& ccx,
|
||||
|
||||
if(!proto || !proto->Init(ccx, ScriptableCreateInfo))
|
||||
{
|
||||
delete proto;
|
||||
delete proto.get();
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user