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

git-svn-id: svn://10.0.0.236/trunk@187824 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com 2006-01-19 15:13:09 +00:00
parent 2cc2f6a9f7
commit e123d673c9

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