]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/vout_manager.cpp
cosmetic: remove nullity test on free() and delete
[vlc] / modules / gui / skins2 / src / vout_manager.cpp
index 65d8d89e2695276db69c024ca6a273dc424e4c4f..400743187d1a7e34354bb7ce483235f96a14d2ae 100644 (file)
@@ -50,11 +50,8 @@ VoutManager *VoutManager::instance( intf_thread_t *pIntf )
 
 void VoutManager::destroy( intf_thread_t *pIntf )
 {
-    if( pIntf->p_sys->p_voutManager )
-    {
-        delete pIntf->p_sys->p_voutManager;
-        pIntf->p_sys->p_voutManager = NULL;
-    }
+    delete pIntf->p_sys->p_voutManager;
+    pIntf->p_sys->p_voutManager = NULL;
 }