Fixed RefCounting bug where following links would decrement the WebShell ref count :-(

This commit is contained in:
rpotts@netscape.com
1998-10-07 12:15:48 +00:00
parent 3abdd80132
commit 545aeee04e
2 changed files with 2 additions and 0 deletions

View File

@@ -1440,6 +1440,7 @@ nsWebShell::GetTarget(const PRUnichar* aName)
nsIWebShell* target = nsnull;
if (0 == name.Length()) {
NS_ADDREF_THIS();
return this;
}