Fix multiple memory leaks with regular expressions.

This commit is contained in:
Ingo Bürk
2015-10-28 14:39:23 +01:00
parent 3295e05089
commit 27db61f504
4 changed files with 10 additions and 9 deletions

View File

@ -294,6 +294,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
if (match != NULL && match->insert_where != M_BELOW) {
DLOG("Removing match %p from container %p\n", match, nc);
TAILQ_REMOVE(&(nc->swallow_head), match, matches);
match_free(match);
}
}