mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-01 18:27:58 +02:00
clients/simple-dmabuf-egl: Add missing destructors
Destructors for zwp_linux_explicit_synchronization_v1 and weston_direct_display_v1 were missing. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
This commit is contained in:
parent
ad4746101a
commit
76431a952f
1 changed files with 6 additions and 0 deletions
|
|
@ -1110,6 +1110,12 @@ destroy_display(struct display *display)
|
|||
|
||||
free(display->modifiers);
|
||||
|
||||
if (display->direct_display)
|
||||
weston_direct_display_v1_destroy(display->direct_display);
|
||||
|
||||
if (display->explicit_sync)
|
||||
zwp_linux_explicit_synchronization_v1_destroy(display->explicit_sync);
|
||||
|
||||
if (display->dmabuf)
|
||||
zwp_linux_dmabuf_v1_destroy(display->dmabuf);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue