Bugfix: Use free-workspaces() in xcb-cleanup (thx dothebart)

next
Axel Wagner 2011-01-26 12:56:49 +01:00
parent 8fa720d6b9
commit ff925f58e8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}