mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
Fix use-after-free when destroying selection sources
This commit is contained in:
parent
cdc21cdcff
commit
4a11609b76
5 changed files with 37 additions and 19 deletions
|
|
@ -126,4 +126,6 @@ void wlr_seat_set_selection(struct wlr_seat *seat,
|
|||
|
||||
void wlr_data_source_init(struct wlr_data_source *source);
|
||||
|
||||
void wlr_data_source_finish(struct wlr_data_source *source);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -52,5 +52,7 @@ void wlr_seat_set_primary_selection(struct wlr_seat *seat,
|
|||
|
||||
void wlr_primary_selection_source_init(
|
||||
struct wlr_primary_selection_source *source);
|
||||
void wlr_primary_selection_source_finish(
|
||||
struct wlr_primary_selection_source *source);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue