From: Axel Wagner Date: Wed, 26 Jan 2011 11:56:49 +0000 (+0100) Subject: Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart) X-Git-Tag: 4.0.1~7^2~3^2~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ff925f58e886c2b510167624ffba1637ecbefc19;p=i3%2Fi3 Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart) --- diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index af472638..0f0e2973 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -582,9 +582,9 @@ void init_xcb(char *fontname) { */ void clean_xcb() { i3_output *o_walk; + free_workspaces(); SLIST_FOREACH(o_walk, outputs, slist) { destroy_window(o_walk); - FREE_TAILQ(o_walk->workspaces, i3_ws); FREE(o_walk->workspaces); FREE(o_walk->name); }