fix wrong error return; bug #57981 r=waterson, sr=brendan

git-svn-id: svn://10.0.0.236/trunk@81882 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2000-10-27 21:46:20 +00:00
parent b725568f25
commit 36c9406119
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ nsSupportsWeakReference::GetWeakReference( nsIWeakReference** aInstancePtr )
nsresult status;
if ( !*aInstancePtr )
status = NS_NOINTERFACE;
status = NS_ERROR_OUT_OF_MEMORY;
else
{
NS_ADDREF(*aInstancePtr);