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

atl: Check for NULL.

parent fa6937f4
......@@ -1026,6 +1026,7 @@ HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR lpszName, HWND hWnd,
IUnknown_AddRef( pUnkControl );
}
if ( pUnkControl )
IUnknown_Release( pUnkControl );
if ( 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