Clean up some memory leaks

This commit is contained in:
Isaac Freund
2020-06-02 13:45:56 +02:00
parent eaf13f3bcf
commit 9856bc92ec
7 changed files with 43 additions and 11 deletions

View File

@ -35,3 +35,7 @@ struct wlr_output *river_wlr_noop_add_output(struct wlr_backend *backend) {
bool river_wlr_output_is_noop(struct wlr_output *output) {
return wlr_output_is_noop(output);
}
void river_wlr_backend_destory(struct wlr_backend *backend) {
wlr_backend_destroy(backend);
}

View File

@ -31,5 +31,6 @@ struct wlr_session *river_wlr_backend_get_session(struct wlr_backend *backend);
struct wlr_backend *river_wlr_noop_backend_create(struct wl_display *display);
struct wlr_output *river_wlr_noop_add_output(struct wlr_backend *backend);
bool river_wlr_output_is_noop(struct wlr_output *output);
void river_wlr_backend_destory(struct wlr_backend *backend);
#endif // RIVER_BINDINGS_H