release widget addrefed during processing of mouse events. fixes leak which fixes crasher bugs 23652 and 24387. r:saari a:brendan.
git-svn-id: svn://10.0.0.236/trunk@58341 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e66d7c18a4
commit
fb34e679c1
@ -3520,6 +3520,7 @@ nsEnderEventListener::DispatchMouseEvent(nsIDOMMouseEvent *aEvent, PRInt32 aEven
|
||||
mFrame->SetFocus();
|
||||
}
|
||||
}
|
||||
NS_IF_RELEASE(event.widget);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user