sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 36bf4d24cfa8be33cf39ab1c479963b2ed3a35db
parent c0f75f68b9e7bb71eb2792fb84e5ff34a8ecadbb
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 13 Dec 2015 13:51:04 -0500

Free last line in swaybar

Diffstat:
Mswaybar/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/swaybar/main.c b/swaybar/main.c @@ -79,6 +79,7 @@ void cairo_set_source_u32(cairo_t *cairo, uint32_t color) { void update() { if (!feof(command)) { + free(line); line = read_line(command); int l = strlen(line) - 1; if (line[l] == '\n') {