diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-04 18:50:31 +0900 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-07-05 08:13:10 +0900 |
commit | 785ed4383be2c781748c9f60e2d6460200a1abeb (patch) | |
tree | d84121e9dae4279cb39c51c7584da93e7b71526b | |
parent | container_free: free formatted title (diff) | |
download | sway-785ed4383be2c781748c9f60e2d6460200a1abeb.tar.gz sway-785ed4383be2c781748c9f60e2d6460200a1abeb.tar.zst sway-785ed4383be2c781748c9f60e2d6460200a1abeb.zip |
view_map: free criterias as the list it is
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 6b4daa82..bca8ef8a 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -514,7 +514,7 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) { | |||
514 | if (container_is_floating(focus)) { | 514 | if (container_is_floating(focus)) { |
515 | focus = focus->parent->parent; | 515 | focus = focus->parent->parent; |
516 | } | 516 | } |
517 | free(criterias); | 517 | list_free(criterias); |
518 | cont = container_view_create(focus, view); | 518 | cont = container_view_create(focus, view); |
519 | 519 | ||
520 | view->surface = wlr_surface; | 520 | view->surface = wlr_surface; |