diff options
author | Drew DeVault <[email protected]> | 2018-03-29 15:19:42 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2018-03-29 22:11:08 -0400 |
commit | 0464a9910da2b99abea0ab202e179d66260a893b (patch) | |
tree | 6d81a2c85f6520f5ffc888d09894e02604789e05 /swaybar/bar.c | |
parent | 0d0ab7c5ce148bce841fa0682d04bc7b6c21b902 (diff) |
Clean up status line on exit
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r-- | swaybar/bar.c | 5 |
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); + } } |