31 May
2023
31 May
'23
8:42 p.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/window.c:
+ + TRACE("hwnd=%p\n", data->hwnd); + + return data; +} + +/*********************************************************************** + * wayland_win_data_destroy + */ +static void wayland_win_data_destroy(struct wayland_win_data *data) +{ + TRACE("hwnd=%p\n", data->hwnd); + + win_data_context[context_idx(data->hwnd)] = NULL; + + free(data); You should probably free outside of the mutex.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2944#note_34249