]> git.sesse.net Git - vlc/blobdiff - modules/video_output/qte/qte.cpp
cosmetic: remove nullity test on free() and delete
[vlc] / modules / video_output / qte / qte.cpp
index f91acd7b3eeeda38734d48da33ceae98d7012b00..b5619d57ec630f08f8a5f21d0ffc4ec033e555c5 100644 (file)
@@ -197,11 +197,8 @@ static void Close ( vlc_object_t *p_this )
     module_unneed( p_vout, p_vout->p_sys->p_qte_main );
 #endif
 
-    if( p_vout->p_sys )
-    {
-        free( p_vout->p_sys );
-        p_vout->p_sys = NULL;
-    }
+    free( p_vout->p_sys );
+    p_vout->p_sys = NULL;
 }
 
 /*****************************************************************************