Bug 315708 Should release found link and current window object from nsTypeAheadFind.cpp r=mconnor

This commit is contained in:
masayuki%d-toybox.com 2006-01-19 15:13:09 +00:00
parent 58862edcbf
commit 26b678e428

View File

@ -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;
}