Commit 06ceac25 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix leak introduced in previous commit

parent b750826c
......@@ -90,7 +90,10 @@ void RecentsMRL::addRecent( const QString &mrl )
/* Add to the Windows 7 default list in taskbar */
char* path = make_path( qtu( mrl ) );
if( path )
{
SHAddToRecentDocs( SHARD_PATHW, path );
free( path );
}
#endif
int i_index = stack->indexOf( mrl );
......
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