mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
sway/desktop/output.c: func handle_destroy add free
This commit is contained in:
parent
6e023257e8
commit
44aa3d065f
1 changed files with 1 additions and 0 deletions
|
|
@ -793,6 +793,7 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
output->wlr_output->data = NULL;
|
output->wlr_output->data = NULL;
|
||||||
output->wlr_output = NULL;
|
output->wlr_output = NULL;
|
||||||
|
free(output);
|
||||||
|
|
||||||
transaction_commit_dirty();
|
transaction_commit_dirty();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue