]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/menus.hpp
One more time removing of some useless tests.
[vlc] / modules / gui / qt4 / menus.hpp
index f7d66f74999af7d5fc84f3a9d0449f4fd9d8e13a..b23da2b524cc72cb0b2b8bfb0186f319d4ed0a51 100644 (file)
@@ -58,9 +58,9 @@ public:
     }
     virtual ~MenuItemData()
     {
-        if( psz_var ) free( psz_var );
-        if( ((i_val_type & VLC_VAR_TYPE) == VLC_VAR_STRING)
-            && val.psz_string ) free( val.psz_string );
+        free( psz_var );
+        if( ( i_val_type & VLC_VAR_TYPE) == VLC_VAR_STRING )
+            free( val.psz_string );
     }
     int i_object_id;
     int i_val_type;