[PATCH 0/1] MR8557: bluetoothapis: Fix resource leak in bluetooth_auth_wizard_ask_response.
13 Jul
13 Jul
3:22 p.m.
New subject: [PATCH 1/1] bluetoothapis: Fix resource leak in bluetooth_auth_wizard_ask_response.
From: Vibhav Pant <vibhavp(a)gmail.com> --- dlls/bluetoothapis/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/bluetoothapis/main.c b/dlls/bluetoothapis/main.c index 29f08af72d5..a25e9ce23c2 100644 --- a/dlls/bluetoothapis/main.c +++ b/dlls/bluetoothapis/main.c @@ -795,7 +795,8 @@ static void bluetooth_auth_wizard_ask_response( struct bluetooth_auth_wizard_lis ¶ms, sizeof( params ), &bytes, NULL )) { ret = ERROR_SUCCESS; - goto done; + CloseHandle( radio ); + break; } ret = GetLastError(); CloseHandle( radio ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8557
157
Age (days ago)
157
Last active (days ago)
1 comments
2 participants
participants (2)
-
Vibhav Pant -
Vibhav Pant (@vibhavp)