]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/theme_loader.cpp
One more time removing of some useless tests.
[vlc] / modules / gui / skins2 / src / theme_loader.cpp
index 2100ba900dcbf6f96322bfd2d7ca54f04ca772d5..2f0c4c3728a84fd86214e61bab8d49d54a045fb0 100644 (file)
@@ -114,7 +114,7 @@ bool ThemeLoader::load( const string &fileName )
         // Show the windows
         pNewTheme->getWindowManager().showAll( true );
     }
-    if( skin_last ) free( skin_last );
+    free( skin_last );
 
     // The new theme cannot embed a video output yet
     VlcProc::instance( getIntf() )->dropVout();