]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/xcb.c
Bugfix: Also free() the head of slist/tailq (Thx dothebart)
[i3/i3] / i3bar / src / xcb.c
index f775aad3ae71c0608c93e9eb063e239f395f292d..e481e314ed7d3bad7fde32e208b32ad31e6f4035 100644 (file)
@@ -585,8 +585,10 @@ void clean_xcb() {
     SLIST_FOREACH(o_walk, outputs, slist) {
         destroy_window(o_walk);
         FREE_TAILQ(o_walk->workspaces, i3_ws);
+        FREE(o_walk->workspaces);
     }
     FREE_SLIST(outputs, i3_output);
+    FREE(outputs);
 
     xcb_disconnect(xcb_connection);