aboutsummaryrefslogtreecommitdiff
path: root/swaybar/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 72c4be8f..44f4ee31 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -191,4 +191,9 @@ void bar_teardown(struct swaybar *bar) {
if (bar->config) {
free_config(bar->config);
}
+ close(bar->ipc_event_socketfd);
+ close(bar->ipc_socketfd);
+ if (bar->status) {
+ status_line_free(bar->status);
+ }
}