[PATCH 0/1] MR7302: winebth.sys: Don't call dbus_pending_call_set_notify with a NULL pending call.
10 Feb
2025
10 Feb
'25
12:52 p.m.
10 Feb
10 Feb
12:52 p.m.
New subject: [PATCH 1/1] winebth.sys: Don't call dbus_pending_call_set_notify with a NULL pending call.
From: Vibhav Pant <vibhavp(a)gmail.com> --- dlls/winebth.sys/dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winebth.sys/dbus.c b/dlls/winebth.sys/dbus.c index 38636db18a1..1cd6870e7de 100644 --- a/dlls/winebth.sys/dbus.c +++ b/dlls/winebth.sys/dbus.c @@ -443,7 +443,7 @@ static BOOL bluez_event_list_queue_new_event_with_call( event_entry->event_type = event_type; event_entry->event = event; event_entry->pending_call = call; - if (!call) + if (call && callback) p_dbus_pending_call_set_notify( call, callback, &event_entry->event, NULL ); list_add_tail( event_list, &event_entry->entry ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7302
388
Age (days ago)
388
Last active (days ago)
1 comments
2 participants
participants (2)
-
Vibhav Pant -
Vibhav Pant (@vibhavp)