18 Nov
2024
18 Nov
'24
8:01 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/propertyset.c:
return E_OUTOFMEMORY;
impl->IPropertySet_iface.lpVtbl = &propertyset_vtbl; - impl->ref = 1; + impl->IObservableMap_HSTRING_IInspectable_iface.lpVtbl = &propertyset_IObservableMap_vtbl; + impl->IMap_HSTRING_IInspectable_iface.lpVtbl = &propertyset_IMap_vtbl; + impl->IIterable_IKeyValuePair_HSTRING_IInspectable_iface.lpVtbl = &iterable_kvpair_HSTRING_IInspectable_vtbl;
Avoid whitespace changes here. Set these interface vtable between setting impl->IPropertySet_iface.lpVtbl and impl->ref to avoid it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6766#note_87785