[Win32] Release ITaskbarList3 on failed HrInit

The pointer wasn't NULL'd, thus set_window_progress would cause weird behaviour
This commit is contained in:
M4xw 2022-05-24 14:42:01 +02:00
parent 8f1de8a343
commit e8f85e019f

View File

@ -102,7 +102,10 @@ static void *win32_display_server_init(void)
else
{
if (FAILED(ITaskbarList3_HrInit(dispserv->taskbar_list)))
{
RARCH_ERR("[dispserv]: HrInit of ITaskbarList3 failed.\n");
dispserv->taskbar_list = NULL;
}
}
#endif