Rémi Bernon (@rbernon) commented about dlls/windows.ui/uisettings.c:
+{
- struct uisettings *impl = impl_from_IUISettings3( iface );
- ULONG ref = InterlockedIncrement( &impl->ref );
- TRACE( "iface %p, ref %lu.\n", iface, ref );
- return ref;
+}
+static ULONG WINAPI uisettings3_Release( IUISettings3 *iface ) +{
- struct uisettings *impl = impl_from_IUISettings3( iface );
- ULONG ref = InterlockedDecrement( &impl->ref );
- TRACE( "iface %p, ref %lu.\n", iface, ref );
- if (!ref)
free(impl);
```suggestion:-1+0 if (!ref) free( impl ); ```