commit caba6d1c4da06392ee8733ade9831c767f595229
parent 93bd79df9ab2bc366c2d500b8707161c4039a366
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 25 Apr 2019 13:24:43 -0400
Free new_views once fufilled
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/view.c b/view.c
@@ -65,6 +65,7 @@ void server_new_xdg_surface(struct wl_listener *listener, void *data) {
wlr_xdg_toplevel_set_size(xdg_surface,
new_view->box.width, new_view->box.height);
wl_list_remove(&new_view->link);
+ free(new_view);
break;
}