Attempting to fix btek bustage
git-svn-id: svn://10.0.0.236/trunk@154685 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -713,7 +713,7 @@ nsresult ns4xPlugin::CreateInstance(nsISupports *aOuter,
|
||||
nsRefPtr<ns4xPluginInstance> inst =
|
||||
new ns4xPluginInstance(&fCallbacks, fLibrary);
|
||||
|
||||
if (inst == NULL)
|
||||
if (!inst)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
return inst->QueryInterface(aIID, aResult);
|
||||
|
||||
Reference in New Issue
Block a user