diff options
| author | Cosmic Linden <cosmic@lindenlab.com> | 2022-08-09 11:34:09 -0700 | 
|---|---|---|
| committer | Cosmic Linden <cosmic@lindenlab.com> | 2022-08-09 11:51:33 -0700 | 
| commit | 47ee4aff475e5086bc532acf1b79a86adcb70d73 (patch) | |
| tree | 3587ca5a0d3bdebe21458dd51d4fd32198779b3f | |
| parent | c58fd13c63048d96bd0cbf7a2ac4aa286e3e3b96 (diff) | |
SL-17005: Fix crash in initDX when no factory
| -rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 20443988ab..6e5c1e504a 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -4619,7 +4619,10 @@ void LLWindowWin32::LLWindowWin32Thread::initDX()              }          } -        pFactory->Release(); +        if (pFactory) +        { +            pFactory->Release(); +        }      }  } | 
