aboutsummaryrefslogtreecommitdiff
path: root/sway/config
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-02-03 09:55:54 +0100
committerGitHub <noreply@github.com>2019-02-03 09:55:54 +0100
commitbbfe13a24893bac6a5c41ac39115288d1d6e025f (patch)
tree1770223ab5d8fb7242452ab7886fdb214ad1aacd /sway/config
parentb41f9f9158e2b47e85fe4933bfad65a1dcc1de03 (diff)
parent2f2a887377a5eb6c480269c00775ecdf8e74578e (diff)
downloadsway-bbfe13a24893bac6a5c41ac39115288d1d6e025f.tar.xz
Merge pull request #3551 from c-edw/RevertDoubleFrees
Revert double frees.
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/bar.c1
-rw-r--r--sway/config/output.c1
2 files changed, 0 insertions, 2 deletions
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/sway/config/output.c b/sway/config/output.c
index cc5f29db..970764b0 100644
--- a/sway/config/output.c
+++ b/sway/config/output.c
@@ -402,6 +402,5 @@ void free_output_config(struct output_config *oc) {
free(oc->name);
free(oc->background);
free(oc->background_option);
- free(oc->background_fallback);
free(oc);
}