From: Paul Gofman pgofman@codeweavers.com
--- dlls/windows.devices.enumeration/tests/devices.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/windows.devices.enumeration/tests/devices.c b/dlls/windows.devices.enumeration/tests/devices.c index b146f4b0698..72bce374410 100644 --- a/dlls/windows.devices.enumeration/tests/devices.c +++ b/dlls/windows.devices.enumeration/tests/devices.c @@ -110,8 +110,9 @@ static HRESULT WINAPI device_watcher_handler_Invoke( ITypedEventHandler_DeviceWa impl->invoked = TRUE; impl->args = args;
+ IDeviceWatcher_AddRef( sender ); ref = IDeviceWatcher_Release( sender ); - ok( ref == 2, "got ref %lu\n", ref ); + ok( ref == 3, "got ref %lu\n", ref );
SetEvent( impl->event );