diff options
author | emersion <contact@emersion.fr> | 2018-05-30 08:36:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 08:36:10 +0100 |
commit | 8c9d0f15ce416029256ebb437c99b93f34edba18 (patch) | |
tree | 55546dba204cb3639211905438e3ac4e537ef439 | |
parent | 0c1f50168b880d1d37b06c7c7f93e6498ae9f2ad (diff) | |
parent | a21894a844963f3b48d17caadf18b3371dab2da7 (diff) |
Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefree
Fix double-free in the rotation.c example.
-rw-r--r-- | examples/rotation.c | 1 | ||||
-rw-r--r-- | examples/tablet.c | 1 | ||||
-rw-r--r-- | examples/touch.c | 1 |
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); } |