[vlc-commits] chromecast: Fix potential deletion of uninitialized value

Hugo Beauzée-Luyssen git at videolan.org
Wed Jun 21 17:12:27 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jun 21 14:59:32 2017 +0200| [045366cd24873d9e73aa7ffdc33aa3897f2c0db5] | committer: Hugo Beauzée-Luyssen

chromecast: Fix potential deletion of uninitialized value

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

 modules/stream_out/chromecast/cast.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index c0f39faffe..6d45e1325c 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -448,6 +448,7 @@ static int Open(vlc_object_t *p_this)
     }
     catch (const std::bad_alloc& )
     {
+        p_intf = NULL;
         goto error;
     }
 



More information about the vlc-commits mailing list