зеркало из https://github.com/mozilla/gecko-dev.git
fixing windows test bustage
This commit is contained in:
Родитель
a71fdf6c5c
Коммит
9c6d198eba
|
@ -134,15 +134,14 @@ nsresult nsTestComFactory::CreateInstance(nsISupports *aOuter,
|
|||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
NS_ADDREF(t)
|
||||
nsresult res = t->QueryInterface(aIID, aResult);
|
||||
NS_RELEASE(t);
|
||||
|
||||
if (NS_FAILED(res)) {
|
||||
*aResult = NULL;
|
||||
delete t;
|
||||
if (NS_SUCCEEDED(res)) {
|
||||
cout << "nsTestComFactory: successfully created nsTestCom instance\n";
|
||||
}
|
||||
|
||||
cout << "nsTestComFactory: successfully created nsTestCom instance\n";
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче