diff --git a/sway/config/bar.c b/sway/config/bar.c index 2e28fa1ef..bafef307c 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -46,7 +46,6 @@ void free_bar_config(struct bar_config *bar) { free(bar->position); free(bar->hidden_state); free(bar->status_command); - free(bar->swaybar_command); free(bar->font); free(bar->separator_symbol); for (int i = 0; i < bar->bindings->length; i++) { diff --git a/swaybar/status_line.c b/swaybar/status_line.c index 17ada40c3..342f981e2 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c @@ -182,8 +182,6 @@ void status_line_free(struct status_line *status) { } json_tokener_free(status->tokener); } - free(status->read); - free(status->write); free(status->buffer); free(status); }