From 75f9feb6de74c7286c42c9bf0d71a2cca52295ae Mon Sep 17 00:00:00 2001 From: Tobias Blass Date: Wed, 30 May 2018 01:12:34 +0200 Subject: Fix double-free in the rotation.c example. The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault. --- examples/rotation.c | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/rotation.c') diff --git a/examples/rotation.c b/examples/rotation.c index bd39a21e..9e9e059a 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -268,6 +268,5 @@ int main(int argc, char *argv[]) { wl_display_run(display); wlr_texture_destroy(state.cat_texture); - wlr_renderer_destroy(state.renderer); wl_display_destroy(display); } -- cgit v1.2.3