aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-20 09:07:59 +0100
committerGitHub <noreply@github.com>2018-04-20 09:07:59 +0100
commit7434c52421a0ec51f4cf7d262c4c5efa9ea68243 (patch)
treecf8d0aa25c73d484023459ec0b216dcbff1871f0 /swaybar
parenta5719f9f432b5f9378ebd2136f8a2cde46dfb407 (diff)
parent9bc4565a59ba474a1aec74e333630afa6da6d2dd (diff)
Merge pull request #1827 from bpinto/swaybar-memory-leak
Fix memory leak on swaybar
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/i3bar.c1
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) {
json_object_get_int(border_right) : 1;
wl_list_insert(&status->blocks, &block->link);
}
+ json_object_put(results);
return true;
}