mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 315708 Should release found link and current window object from nsTypeAheadFind.cpp r=mconnor
This commit is contained in:
parent
58862edcbf
commit
26b678e428
@ -215,6 +215,10 @@ nsTypeAheadFind::SetDocShell(nsIDocShell* aDocShell)
|
||||
mStartFindRange = nsnull;
|
||||
mStartPointRange = do_CreateInstance(kRangeCID);
|
||||
mSearchRange = do_CreateInstance(kRangeCID);
|
||||
|
||||
mFoundLink = nsnull;
|
||||
mCurrentWindow = nsnull;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user