aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-30 08:36:10 +0100
committerGitHub <noreply@github.com>2018-05-30 08:36:10 +0100
commit8c9d0f15ce416029256ebb437c99b93f34edba18 (patch)
tree55546dba204cb3639211905438e3ac4e537ef439 /examples
parent0c1f50168b880d1d37b06c7c7f93e6498ae9f2ad (diff)
parenta21894a844963f3b48d17caadf18b3371dab2da7 (diff)
Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefree
Fix double-free in the rotation.c example.
Diffstat (limited to 'examples')
-rw-r--r--examples/rotation.c1
-rw-r--r--examples/tablet.c1
-rw-r--r--examples/touch.c1
3 files changed, 0 insertions, 3 deletions
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);
}
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);
}
diff --git a/examples/touch.c b/examples/touch.c
index 68f78a0a..0e77b48e 100644
--- a/examples/touch.c
+++ b/examples/touch.c
@@ -277,6 +277,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);
}