mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[EXPLORER][BROWSEUI][SHELL32][NETSHELL] Fix wrong usage of CComPtr
This commit is contained in:
@@ -321,8 +321,8 @@ HRESULT STDMETHODCALLTYPE CDesktopBrowser::QueryActiveShellView(IShellView **pps
|
||||
if (ppshv == NULL)
|
||||
return E_POINTER;
|
||||
*ppshv = m_ShellView;
|
||||
if (m_ShellView != NULL)
|
||||
m_ShellView->AddRef();
|
||||
if (*ppshv != NULL)
|
||||
(*ppshv)->AddRef();
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user