X-Git-Url: https://git.sesse.net/?p=vlc;a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Finput_manager.cpp;h=ebcc032612391b0ac1282d2e62601586af2f0221;hp=f7f3bfa84552a7b0d781df59758fbb3c86ec05fe;hb=d4c7ef27dd409c192fcfec571921bd7f892eb5af;hpb=ab9825861e7e51408d1addb1f1e77fb03f900abf diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp index f7f3bfa845..ebcc032612 100644 --- a/modules/gui/qt4/input_manager.cpp +++ b/modules/gui/qt4/input_manager.cpp @@ -643,7 +643,10 @@ const QString InputManager::decodeArtURL( input_item_t *p_item ) /* Taglib seems to define a attachment://, It won't work yet */ url = url.replace( "attachment://", "" ); #endif - return qfu( psz_art ? psz_art : "" ); + + QString path = qfu( psz_art ? psz_art : "" ); + free( psz_art ); + return path; } void InputManager::UpdateArt()