mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefree
Fix double-free in the rotation.c example.
This commit is contained in:
commit
8c9d0f15ce
3 changed files with 0 additions and 3 deletions
|
@ -268,6 +268,5 @@ int main(int argc, char *argv[]) {
|
||||||
wl_display_run(display);
|
wl_display_run(display);
|
||||||
|
|
||||||
wlr_texture_destroy(state.cat_texture);
|
wlr_texture_destroy(state.cat_texture);
|
||||||
wlr_renderer_destroy(state.renderer);
|
|
||||||
wl_display_destroy(display);
|
wl_display_destroy(display);
|
||||||
}
|
}
|
||||||
|
|
|
@ -372,6 +372,5 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
wl_display_run(display);
|
wl_display_run(display);
|
||||||
|
|
||||||
wlr_renderer_destroy(state.renderer);
|
|
||||||
wl_display_destroy(display);
|
wl_display_destroy(display);
|
||||||
}
|
}
|
||||||
|
|
|
@ -277,6 +277,5 @@ int main(int argc, char *argv[]) {
|
||||||
wl_display_run(display);
|
wl_display_run(display);
|
||||||
|
|
||||||
wlr_texture_destroy(state.cat_texture);
|
wlr_texture_destroy(state.cat_texture);
|
||||||
wlr_renderer_destroy(state.renderer);
|
|
||||||
wl_display_destroy(display);
|
wl_display_destroy(display);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue