diff options
author | 2018-04-20 09:07:59 +0100 | |
---|---|---|
committer | 2018-04-20 09:07:59 +0100 | |
commit | 7434c52421a0ec51f4cf7d262c4c5efa9ea68243 (patch) | |
tree | cf8d0aa25c73d484023459ec0b216dcbff1871f0 /swaybar | |
parent | Merge pull request #1817 from RyanDwyer/fullscreen (diff) | |
parent | Fix memory leak on swaybar (diff) | |
download | sway-7434c52421a0ec51f4cf7d262c4c5efa9ea68243.tar.gz sway-7434c52421a0ec51f4cf7d262c4c5efa9ea68243.tar.zst sway-7434c52421a0ec51f4cf7d262c4c5efa9ea68243.zip |
Merge pull request #1827 from bpinto/swaybar-memory-leak
Fix memory leak on swaybar
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/i3bar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/i3bar.c b/swaybar/i3bar.c index 923ad755..dced13d2 100644 --- a/swaybar/i3bar.c +++ b/swaybar/i3bar.c | |||
@@ -104,6 +104,7 @@ static bool i3bar_parse_json(struct status_line *status, const char *text) { | |||
104 | json_object_get_int(border_right) : 1; | 104 | json_object_get_int(border_right) : 1; |
105 | wl_list_insert(&status->blocks, &block->link); | 105 | wl_list_insert(&status->blocks, &block->link); |
106 | } | 106 | } |
107 | json_object_put(results); | ||
107 | return true; | 108 | return true; |
108 | } | 109 | } |
109 | 110 | ||