mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
Merge pull request #1827 from bpinto/swaybar-memory-leak
Fix memory leak on swaybar
This commit is contained in:
commit
7434c52421
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ static bool i3bar_parse_json(struct status_line *status, const char *text) {
|
||||||
json_object_get_int(border_right) : 1;
|
json_object_get_int(border_right) : 1;
|
||||||
wl_list_insert(&status->blocks, &block->link);
|
wl_list_insert(&status->blocks, &block->link);
|
||||||
}
|
}
|
||||||
|
json_object_put(results);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue