Fixed RefCounting bug where following links would decrement the WebShell ref count :-(
This commit is contained in:
@@ -1440,6 +1440,7 @@ nsWebShell::GetTarget(const PRUnichar* aName)
|
||||
nsIWebShell* target = nsnull;
|
||||
|
||||
if (0 == name.Length()) {
|
||||
NS_ADDREF_THIS();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user