Merge pull request #3022 from orestisf1993/i3bar-leaks

Fix i3bar leaks
This commit is contained in:
Ingo Bürk
2017-12-03 19:51:25 +01:00
committed by GitHub
7 changed files with 43 additions and 22 deletions

View File

@ -1499,16 +1499,7 @@ void init_tray_colors(void) {
*
*/
void clean_xcb(void) {
i3_output *o_walk;
free_workspaces();
SLIST_FOREACH(o_walk, outputs, slist) {
destroy_window(o_walk);
FREE(o_walk->trayclients);
FREE(o_walk->workspaces);
FREE(o_walk->name);
}
FREE_SLIST(outputs, i3_output);
FREE(outputs);
free_outputs();
free_font();