]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/xosd.c
Remove useless test before free and delete.
[vlc] / modules / misc / notify / xosd.c
index bf5ad459e116cdbf4f4c19a1d3169b8c24fe2cd9..803ab53b1d7f40da5e0898ff2552569acceaf2c6 100644 (file)
@@ -222,11 +222,8 @@ static void Run( intf_thread_t *p_intf )
                 vlc_object_release( p_playlist );
                 continue;
             }
-            if( psz_display )
-            {
-                free( psz_display );
-                psz_display = NULL;
-            }
+            free( psz_display );
+            psz_display = NULL;
             if( p_playlist->status.i_status == PLAYLIST_STOPPED )
             {
                 psz_display = strdup(_("Stop"));