[SCM] kodi-pvr-vdr-vnsi/master: VNSIAdmin: reset vis_shader (and others) to NULL after delete

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:50 UTC 2016


The following commit has been merged in the master branch:
commit 04fc55ab90e544538ffd1f5ce19d39e85d1bc6df
Author: Max Kellermann <max at duempel.org>
Date:   Sat Nov 7 23:36:39 2015 +0100

    VNSIAdmin: reset vis_shader (and others) to NULL after delete

diff --git a/src/VNSIAdmin.cpp b/src/VNSIAdmin.cpp
index 6e25e5c..362a23c 100644
--- a/src/VNSIAdmin.cpp
+++ b/src/VNSIAdmin.cpp
@@ -870,6 +870,7 @@ bool cVNSIAdmin::Open(const std::string& hostname, int port, const char* name)
   if (m_osdRender)
   {
     delete m_osdRender;
+    m_osdRender = NULL;
   }
 
   return true;

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list