]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/input_manager.cpp
Input access locking, part 3 (final).
[vlc] / modules / gui / qt4 / input_manager.cpp
index b9bb653e92e3b28f408e29a630fd6164ce00e47e..dae3af64583f8259e255ecf51ae2c39db9cdf589 100644 (file)
@@ -138,6 +138,7 @@ void InputManager::update()
     char *psz_artist = input_item_GetArtist( input_GetItem( p_input ) );
     if( EMPTY_STR( psz_name ) )
     {
+        free( psz_name );
         psz_name = input_item_GetName( input_GetItem( p_input ) );
     }
     if( !EMPTY_STR( psz_nowplaying ) )