Skip to content
Snippets Groups Projects
Commit 85f8fe67 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Steve Lhomme
Browse files

egl_gbm: fix leaks of wayland objects

parent 9d21d25c
No related branches found
No related tags found
1 merge request!4839Fix a serie of wayland object leaks in Qt and egl_gbm
......@@ -600,6 +600,12 @@ static void ReleaseDisplay(vlc_gl_t* gl)
{
vlc_gl_sys_t* sys = gl->sys;
if (sys->wayland.feedback != NULL)
zwp_linux_dmabuf_feedback_v1_destroy(sys->wayland.feedback);
if (sys->wayland.dmabuf != NULL)
zwp_linux_dmabuf_v1_destroy(sys->wayland.dmabuf);
if (sys->gbm.device)
{
int fd = gbm_device_get_fd(sys->gbm.device);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment