mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
atl: Check for NULL.
This commit is contained in:
parent
fa6937f4a5
commit
c46327b40c
@ -1026,7 +1026,8 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
|
||||
IUnknown_AddRef( pUnkControl );
|
||||
}
|
||||
|
||||
IUnknown_Release( pUnkControl );
|
||||
if ( pUnkControl )
|
||||
IUnknown_Release( pUnkControl );
|
||||
if ( pContainer )
|
||||
IUnknown_Release( pContainer );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user