From a21894a844963f3b48d17caadf18b3371dab2da7 Mon Sep 17 00:00:00 2001 From: Tobias Blass Date: Wed, 30 May 2018 08:24:25 +0200 Subject: Fix double-free in the tablet.c and touch.c examples The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault. --- examples/tablet.c | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/tablet.c') diff --git a/examples/tablet.c b/examples/tablet.c index f5c4bbb5..e734ca84 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -372,6 +372,5 @@ int main(int argc, char *argv[]) { } wl_display_run(display); - wlr_renderer_destroy(state.renderer); wl_display_destroy(display); } -- cgit v1.2.3