Commit d54c78bc authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Jean-Baptiste Kempf

Fix memleak in Qt interface.

(cherry picked from commit b8b83532)
parent 64b36189
......@@ -198,10 +198,7 @@ void MetaPanel::update( input_item_t *p_item )
/* URL / URI */
psz_meta = input_item_GetURL( p_item );
if( !EMPTY_STR( psz_meta ) )
{
emit uriSet( QString( psz_meta ) );
free( psz_meta );
}
else
{
free( psz_meta );
......@@ -209,6 +206,7 @@ void MetaPanel::update( input_item_t *p_item )
if( !EMPTY_STR( psz_meta ) )
emit uriSet( QString( psz_meta ) );
}
free( psz_meta );
/* Other classic though */
UPDATE_META( Artist, artist_text );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment