Commit e7aa8aa6 authored by Rémi Duraffort's avatar Rémi Duraffort

Qt_playlist_selector: fix a memleak.

parent ca7b627d
......@@ -137,7 +137,11 @@ void PLSelector::createItems()
sd_item->setData( 0, NAME_ROLE, qfu( *ppsz_name ) );
sd_item->setFlags( sd_item->flags() & ~Qt::ItemIsDropEnabled );
sds->addChild( sd_item );
free( *ppsz_name );
free( *ppsz_longname );
}
free( ppsz_names );
free( ppsz_longnames );
}
QStringList PLSelector::mimeTypes() const
......
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