Clean up some memory leaks
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user