aboutsummaryrefslogtreecommitdiff
path: root/swaybar/bar.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-19 17:56:18 +0100
committerGitHub <noreply@github.com>2018-11-19 17:56:18 +0100
commitbf7af9c690de1da94a5fa258747cd983cb61b707 (patch)
tree1b731331f1ea6ebb430a9bf4dbc1db482bc7ff5d /swaybar/bar.c
parent67d24e8fc54b9e091533500de22f02302a4c79fc (diff)
parent4bd46fb079fb5a32ee6eb2b297de273b261a9c71 (diff)
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
Implement strip_workspace_name.
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 08c386a7..2178f542 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -31,6 +31,7 @@ void free_workspaces(struct wl_list *list) {
wl_list_for_each_safe(ws, tmp, list, link) {
wl_list_remove(&ws->link);
free(ws->name);
+ free(ws->label);
free(ws);
}
}