diff --git a/reactos/lib/atl/atlbase.h b/reactos/lib/atl/atlbase.h index b2f6ae1f3df..232507bcdc5 100644 --- a/reactos/lib/atl/atlbase.h +++ b/reactos/lib/atl/atlbase.h @@ -595,6 +595,7 @@ public: ATLASSERT(ppv != NULL); if (ppv == NULL) return E_POINTER; + *ppv = NULL; hResult = S_OK; if (m_pObjMap != NULL) {