From 49b667272b3c5e714692bb31a8e276031ac9a941 Mon Sep 17 00:00:00 2001 From: Connor E <38229097+c-edw@users.noreply.github.com> Date: Fri, 1 Feb 2019 11:51:03 +0000 Subject: Revert "Add some missing frees." This reverts commit b5d95f264d5b08f6228e05be680ee36fc06ca6d6. --- swaybar/config.c | 1 - 1 file changed, 1 deletion(-) (limited to 'swaybar') diff --git a/swaybar/config.c b/swaybar/config.c index b94fcfee..6e36573c 100644 --- a/swaybar/config.c +++ b/swaybar/config.c @@ -108,7 +108,6 @@ void free_config(struct swaybar_config *config) { free(config->mode); free(config->hidden_state); free(config->sep_symbol); - free(config->modifier); for (int i = 0; i < config->bindings->length; i++) { struct swaybar_binding *binding = config->bindings->items[i]; free_binding(binding); -- cgit v1.2.3 From 2f2a887377a5eb6c480269c00775ecdf8e74578e Mon Sep 17 00:00:00 2001 From: Connor E <38229097+c-edw@users.noreply.github.com> Date: Fri, 1 Feb 2019 11:52:37 +0000 Subject: Revert "More frees." This reverts commit eda1bf769f239a9e8d5a9907255a330e3113a649. --- sway/config/bar.c | 1 - swaybar/status_line.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'swaybar') diff --git a/sway/config/bar.c b/sway/config/bar.c index 2e28fa1e..bafef307 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 17ada40c..342f981e 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); } -- cgit v1.2.3