SL-17005: Fix crash in initDX when no factory

meow-7.2.2
Cosmic Linden 2022-08-09 11:34:09 -07:00
parent c58fd13c63
commit 47ee4aff47
1 changed files with 4 additions and 1 deletions

View File

@ -4619,7 +4619,10 @@ void LLWindowWin32::LLWindowWin32Thread::initDX()
}
}
pFactory->Release();
if (pFactory)
{
pFactory->Release();
}
}
}