Revert "More frees."

This reverts commit eda1bf769f.
master
Connor E 6 years ago
parent 49b667272b
commit 2f2a887377

@ -46,7 +46,6 @@ void free_bar_config(struct bar_config *bar) {
free(bar->position); free(bar->position);
free(bar->hidden_state); free(bar->hidden_state);
free(bar->status_command); free(bar->status_command);
free(bar->swaybar_command);
free(bar->font); free(bar->font);
free(bar->separator_symbol); free(bar->separator_symbol);
for (int i = 0; i < bar->bindings->length; i++) { for (int i = 0; i < bar->bindings->length; i++) {

@ -182,8 +182,6 @@ void status_line_free(struct status_line *status) {
} }
json_tokener_free(status->tokener); json_tokener_free(status->tokener);
} }
free(status->read);
free(status->write);
free(status->buffer); free(status->buffer);
free(status); free(status);
} }

Loading…
Cancel
Save