aboutsummaryrefslogtreecommitdiff
path: root/sway/config
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-14 21:25:26 -0500
committerGitHub <noreply@github.com>2018-11-14 21:25:26 -0500
commit484bf591be330905a4d4720efa7eb8cd16e53576 (patch)
tree27a33ba71b34918c98b4c3c120a999bd9b8488aa /sway/config
parent47cca240e26992782622a3dc360ed3afec83b47f (diff)
parenteda1bf769f239a9e8d5a9907255a330e3113a649 (diff)
Merge pull request #3121 from c-edw/feature/MissingFrees
[WIP] Free unfreed resources.
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/bar.c1
-rw-r--r--sway/config/output.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c
index 8b88642e..7bca5f49 100644
--- a/sway/config/bar.c
+++ b/sway/config/bar.c
@@ -46,6 +46,7 @@ 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 2b041353..07543e3c 100644
--- a/sway/config/output.c
+++ b/sway/config/output.c
@@ -326,6 +326,7 @@ void free_output_config(struct output_config *oc) {
free(oc->name);
free(oc->background);
free(oc->background_option);
+ free(oc->background_fallback);
free(oc);
}