[2/2]wmvcore: add WMMetadataEditor stub implementation

Dmitry Timoshkov dmitry at baikal.ru
Fri Apr 11 22:10:10 CDT 2014


Jeff Latimer <lats at yless4u.com.au> wrote:

> +HRESULT WINAPI WMCreateEditor_close(IWMMetadataEditor *iface)
> +{
> +    FIXME("iface=%p\n", iface);
> +    HeapFree(GetProcessHeap(), 0, iface);
> +    return S_OK;
> +}

WMCreateEditor_close() should free the implementation not an interface
pointer (although they accidently happen to be the same because of
implementation structure layout, but once somebody moves/adds fields
that may change and lead to unpredictable results).

-- 
Dmitry.



More information about the wine-devel mailing list