Commit c46327b4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

atl: Check for NULL.

parent fa6937f4
...@@ -1026,7 +1026,8 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd, ...@@ -1026,7 +1026,8 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
IUnknown_AddRef( pUnkControl ); IUnknown_AddRef( pUnkControl );
} }
IUnknown_Release( pUnkControl ); if ( pUnkControl )
IUnknown_Release( pUnkControl );
if ( pContainer ) if ( pContainer )
IUnknown_Release( pContainer ); IUnknown_Release( pContainer );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment