From 9856bc92ec3ae8c2334baa76b4093a473bff8fa7 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 2 Jun 2020 13:45:56 +0200 Subject: Clean up some memory leaks --- include/bindings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/bindings.c') diff --git a/include/bindings.c b/include/bindings.c index 0eaf76d..7b16c09 100644 --- a/include/bindings.c +++ b/include/bindings.c @@ -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); +} -- cgit v1.2.3