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 | ffbe91c245ae09bc94f31556cb4104c5957aacef (diff) |
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) { if (container_is_floating(focus)) { focus = focus->parent->parent; } - free(criterias); + list_free(criterias); cont = container_view_create(focus, view); view->surface = wlr_surface; |