Bugfix: free() workspace-list of outputs seperately (thx dothebart)
This commit is contained in:
parent
17a795aba1
commit
51ffd4c3dd
|
@ -579,9 +579,10 @@ void init_xcb(char *fontname) {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void clean_xcb() {
|
void clean_xcb() {
|
||||||
i3_output *walk;
|
i3_output *o_walk;
|
||||||
SLIST_FOREACH(walk, outputs, slist) {
|
SLIST_FOREACH(o_walk, outputs, slist) {
|
||||||
destroy_window(walk);
|
destroy_window(o_walk);
|
||||||
|
FREE_TAILQ(o_walk->workspaces, i3_ws);
|
||||||
}
|
}
|
||||||
FREE_SLIST(outputs, i3_output);
|
FREE_SLIST(outputs, i3_output);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue