mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
view_map: free criterias as the list it is
This commit is contained in:
parent
ffbe91c245
commit
785ed4383b
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) {
|
|||
if (container_is_floating(focus)) {
|
||||
focus = focus->parent->parent;
|
||||
}
|
||||
free(criterias);
|
||||
list_free(criterias);
|
||||
cont = container_view_create(focus, view);
|
||||
|
||||
view->surface = wlr_surface;
|
||||
|
|
Loading…
Reference in a new issue