7 Feb
2023
7 Feb
'23
10:38 a.m.
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);
if (!ref) free( impl );
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2103#note_23237