diff --git a/dlls/qcap/dllsetup.c b/dlls/qcap/dllsetup.c index fcdcdfb99c1..15dbe16a922 100644 --- a/dlls/qcap/dllsetup.c +++ b/dlls/qcap/dllsetup.c @@ -359,6 +359,7 @@ void SetupInitializeServers(const CFactoryTemplate * pList, int num, for (i = 0; i < num; i++, pList++) { - pList->m_lpfnInit(bLoading, pList->m_ClsID); + if (pList->m_lpfnInit) + pList->m_lpfnInit(bLoading, pList->m_ClsID); } }