Commit be1a6d83 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

shell32: Release site pointer.

parent 1ce7b7a5
......@@ -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;
......
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