diff --git a/src/util/com/com_private_data.cpp b/src/util/com/com_private_data.cpp index b06ade02c..e4d34db3c 100644 --- a/src/util/com/com_private_data.cpp +++ b/src/util/com/com_private_data.cpp @@ -23,7 +23,8 @@ namespace dxvk { const IUnknown* iface) : m_guid (guid), m_iface (const_cast(iface)) { - m_iface->AddRef(); + if (m_iface != nullptr) + m_iface->AddRef(); }