diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-02-03 09:55:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-03 09:55:54 +0100 |
commit | bbfe13a24893bac6a5c41ac39115288d1d6e025f (patch) | |
tree | 1770223ab5d8fb7242452ab7886fdb214ad1aacd /swaybar | |
parent | b41f9f9158e2b47e85fe4933bfad65a1dcc1de03 (diff) | |
parent | 2f2a887377a5eb6c480269c00775ecdf8e74578e (diff) |
Merge pull request #3551 from c-edw/RevertDoubleFrees
Revert double frees.
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/config.c | 1 | ||||
-rw-r--r-- | swaybar/status_line.c | 2 |
2 files changed, 0 insertions, 3 deletions
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); 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); } |