mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
swaybar: only free tokener when using i3bar protocol
This commit is contained in:
parent
5912325d5c
commit
47a66da5de
1 changed files with 1 additions and 1 deletions
|
@ -147,8 +147,8 @@ void status_line_free(struct status_line *status) {
|
||||||
wl_list_remove(&block->link);
|
wl_list_remove(&block->link);
|
||||||
i3bar_block_unref(block);
|
i3bar_block_unref(block);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
json_tokener_free(status->tokener);
|
json_tokener_free(status->tokener);
|
||||||
|
}
|
||||||
free(status->buffer);
|
free(status->buffer);
|
||||||
free(status);
|
free(status);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue