mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
menu: fix UAF in client-list-combined-menu after window destruction
Update client-list-combined-menu when a window is destroyed to avoid SEGFAULT when selecting an that window entry in it.
This commit is contained in:
parent
2b1a694154
commit
e912964f73
3 changed files with 32 additions and 5 deletions
|
|
@ -85,6 +85,7 @@ bool menu_call_selected_actions(struct server *server);
|
|||
|
||||
void menu_init(struct server *server);
|
||||
void menu_finish(struct server *server);
|
||||
void menu_on_view_destroy(struct view *view);
|
||||
|
||||
/**
|
||||
* menu_get_by_id - get menu by id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue