mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
view_map: free criterias as the list it is
This commit is contained in:
parent
ffbe91c245
commit
785ed4383b
@ -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 New Issue
Block a user