]> git.sur5r.net Git - i3/i3/blobdiff - src/manage.c
free dynamically allocated matches
[i3/i3] / src / manage.c
index 05ac15f052960ed5ed83b3023eb3fce4c007a366..d6a8c6d3b36570543d7e611bcdfa308629516f21 100644 (file)
@@ -304,6 +304,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
                 Match *first = TAILQ_FIRST(&(nc->swallow_head));
                 TAILQ_REMOVE(&(nc->swallow_head), first, matches);
                 match_free(first);
+                free(first);
             }
         }
     }