Skip to content

Commit 2f2a887

Browse files
committed
Revert "More frees."
This reverts commit eda1bf7.
1 parent 49b6672 commit 2f2a887

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

sway/config/bar.c

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ void free_bar_config(struct bar_config *bar) {
4646
free(bar->position);
4747
free(bar->hidden_state);
4848
free(bar->status_command);
49-
free(bar->swaybar_command);
5049
free(bar->font);
5150
free(bar->separator_symbol);
5251
for (int i = 0; i < bar->bindings->length; i++) {

swaybar/status_line.c

-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ void status_line_free(struct status_line *status) {
182182
}
183183
json_tokener_free(status->tokener);
184184
}
185-
free(status->read);
186-
free(status->write);
187185
free(status->buffer);
188186
free(status);
189187
}

0 commit comments

Comments
 (0)