[vlc-commits] [Git][videolan/vlc][master] wayland: fix error return

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Thu Sep 1 07:49:01 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
eede2d29 by RĂ©mi Denis-Courmont at 2022-09-01T07:21:16+00:00
wayland: fix error return

- - - - -


1 changed file:

- modules/video_output/wayland/registry.c


Changes:

=====================================
modules/video_output/wayland/registry.c
=====================================
@@ -253,7 +253,7 @@ struct vlc_wl_registry *vlc_wl_registry_get(struct wl_display *display,
     return vr;
 error:
     free(vr);
-    return vr;
+    return NULL;
 }
 
 static void name_destroy(void *d)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eede2d290f83164b3217bbad0c4e509ad882a522

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/eede2d290f83164b3217bbad0c4e509ad882a522
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list