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

This commit is contained in:
Axel Wagner 2011-01-26 12:56:49 +01:00
parent 1cf054f2b4
commit 4a10a2edba
1 changed files with 1 additions and 1 deletions

View File

@ -582,9 +582,9 @@ void init_xcb(char *fontname) {
*/ */
void clean_xcb() { void clean_xcb() {
i3_output *o_walk; i3_output *o_walk;
free_workspaces();
SLIST_FOREACH(o_walk, outputs, slist) { SLIST_FOREACH(o_walk, outputs, slist) {
destroy_window(o_walk); destroy_window(o_walk);
FREE_TAILQ(o_walk->workspaces, i3_ws);
FREE(o_walk->workspaces); FREE(o_walk->workspaces);
FREE(o_walk->name); FREE(o_walk->name);
} }