vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Jul  1 
20:58:54 2018 +0300| [7c07bea519fd0c03468f1633c7e41bd74b22f761] | committer: 
Rémi Denis-Courmont

xdg-shell: uninitialized variables

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c07bea519fd0c03468f1633c7e41bd74b22f761
---

 modules/video_output/wayland/xdg-shell.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/wayland/xdg-shell.c 
b/modules/video_output/wayland/xdg-shell.c
index 8878b047e1..5f531f807c 100644
--- a/modules/video_output/wayland/xdg-shell.c
+++ b/modules/video_output/wayland/xdg-shell.c
@@ -487,6 +487,8 @@ static int Open(vout_window_t *wnd, const vout_window_cfg_t 
*cfg)
     sys->set.height = cfg->height;
     wl_list_init(&sys->outputs);
     wl_list_init(&sys->seats);
+    sys->cursor_theme = NULL;
+    sys->cursor_surface = NULL;
     vlc_mutex_init(&sys->lock);
     wnd->sys = sys;
     wnd->handle.wl = NULL;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to