(Reported by Coverity)
From: Vibhav Pant vibhavp@gmail.com
--- dlls/winebth.sys/dbus.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/winebth.sys/dbus.c b/dlls/winebth.sys/dbus.c index 155b5f14190..5f943bca158 100644 --- a/dlls/winebth.sys/dbus.c +++ b/dlls/winebth.sys/dbus.c @@ -895,18 +895,18 @@ static BOOL bluez_watcher_event_queue_ready( struct bluez_watcher_ctx *ctx, stru } if (!list_empty( &ctx->event_list )) { - struct bluez_watcher_event *event = + struct bluez_watcher_event *watcher_event = LIST_ENTRY( list_head( &ctx->event_list ), struct bluez_watcher_event, entry );
- if (event->pending_call && !p_dbus_pending_call_get_completed( event->pending_call )) + if ( watcher_event->pending_call && !p_dbus_pending_call_get_completed( watcher_event->pending_call )) return FALSE;
- event->event_type = event->event_type; - event->event = event->event; - list_remove( &event->entry ); - if (event->pending_call) - p_dbus_pending_call_unref( event->pending_call ); - free( event ); + event->event_type = watcher_event->event_type; + event->event_data = watcher_event->event; + list_remove( &watcher_event->entry ); + if (watcher_event->pending_call) + p_dbus_pending_call_unref( watcher_event->pending_call ); + free( watcher_event ); return TRUE; } return FALSE;
Hi,
It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated.
The tests also ran into some preexisting test failures. If you know how to fix them that would be helpful. See the TestBot job for the details:
The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=150303
Your paranoid android.
=== debian11b (64 bit WoW report) ===
user32: input.c:4305: Test succeeded inside todo block: button_down_hwnd_todo 1: got MSG_TEST_WIN hwnd 0000000000A300E8, msg WM_LBUTTONDOWN, wparam 0x1, lparam 0x320032