river: fix a few leaks

This commit is contained in:
Isaac Freund
2023-03-04 20:12:37 +01:00
parent 4d2f5bb32d
commit f5f9b526a0
4 changed files with 8 additions and 0 deletions

View File

@ -89,6 +89,8 @@ fn handleDestroy(listener: *wl.Listener(*wlr.LayerSurfaceV1), _: *wlr.LayerSurfa
layer_surface.destroyPopups();
layer_surface.popup_tree.node.destroy();
util.gpa.destroy(layer_surface);
}