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~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a10a2edbaa86c90b6706d2cf41acbfa785ea48c;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 7e4e3d82..fb2564fb 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); }