postproc: remove redundant check
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Jul 2014 16:10:40 +0000 (19:10 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Jul 2014 16:12:03 +0000 (19:12 +0300)
modules/video_filter/postproc.c

index 3211333..8ca5507 100644 (file)
@@ -275,7 +275,7 @@ static void ClosePostproc( vlc_object_t *p_this )
     /* Destroy the resources */
     vlc_mutex_destroy( &p_sys->lock );
     pp_free_context( p_sys->pp_context );
-    if( p_sys->pp_mode ) pp_free_mode( p_sys->pp_mode );
+    pp_free_mode( p_sys->pp_mode );
     free( p_sys );
 }