Rémi Bernon (@rbernon) commented about dlls/windows.devices.geolocation.geolocator/main.c:
static ULONG WINAPI geolocator_Release(IGeolocator *iface) { struct geolocator *impl = impl_from_IGeolocator(iface);
- ULONG ref = InterlockedDecrement(&impl->ref);
- ULONG ref = InterlockedDecrement(&impl->ref_public);
- if (ref == 0)
- {
IWeakReference_Release(&impl->IWeakReference_iface);;
- }
```suggestion:-3+0 if (!ref) IWeakReference_Release(&impl->IWeakReference_iface); ```