Fix multiple memory leaks with regular expressions.
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user