7 Feb
2023
7 Feb
'23
10:38 a.m.
Rémi Bernon (@rbernon) commented about dlls/windows.ui/uisettings.c:
static HRESULT WINAPI factory_ActivateInstance( IActivationFactory *iface, IInspectable **instance ) { - FIXME( "iface %p, instance %p stub!\n", iface, instance ); - return E_NOTIMPL; + struct uisettings *impl; + + TRACE("iface %p, instance %p.\n", iface, instance); + + if (!(impl = calloc(1, sizeof(*impl)))) + { + *instance = NULL; + return E_OUTOFMEMORY; + }
```suggestion:-6+0 TRACE( "iface %p, instance %p.\n", iface, instance ); if (!(impl = calloc( 1, sizeof(*impl) ))) { *instance = NULL; return E_OUTOFMEMORY; } ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2103#note_23238