Commit 86783662 authored by Geoffroy Couprie's avatar Geoffroy Couprie

missing strdup

parent d57af90a
...@@ -72,7 +72,7 @@ void PodcastConfigDialog::accept() ...@@ -72,7 +72,7 @@ void PodcastConfigDialog::accept()
urls += ui.podcastList->item(i)->text(); urls += ui.podcastList->item(i)->text();
if( i != ui.podcastList->count()-1 ) urls += "|"; if( i != ui.podcastList->count()-1 ) urls += "|";
} }
const char *psz_urls = qtu( urls ); const char *psz_urls = strdup( qtu( urls ) );
config_PutPsz( p_intf, "podcast-urls", psz_urls ); config_PutPsz( p_intf, "podcast-urls", psz_urls );
vlc_object_t *p_obj = (vlc_object_t*) vlc_object_t *p_obj = (vlc_object_t*)
vlc_object_find_name( p_intf->p_libvlc, vlc_object_find_name( p_intf->p_libvlc,
......
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