added missing NS_RELEASE() after getting a window in the cursor setting code.
git-svn-id: svn://10.0.0.236/trunk@969 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
75e204180f
commit
3ba2f75f2f
@ -197,6 +197,7 @@ NS_METHOD RootFrame::HandleEvent(nsIPresContext& aPresContext,
|
||||
nsIWidget* window;
|
||||
target->GetWindow(window);
|
||||
window->SetCursor(c);
|
||||
NS_RELEASE(window);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user