shell32: Release site pointer.
This commit is contained in:
parent
1ce7b7a54c
commit
be1a6d8323
|
@ -2630,6 +2630,10 @@ ShellLink_SetSite( IObjectWithSite *iface, IUnknown *punk )
|
|||
|
||||
if ( punk )
|
||||
IUnknown_AddRef( punk );
|
||||
|
||||
if( This->site )
|
||||
IUnknown_Release( This->site );
|
||||
|
||||
This->site = punk;
|
||||
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in New Issue