Commit eb087300 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "missing strdup"

config_PutPsz() and var_SetString() are calling strdup() internally.
This reverts commit 86783662.
parent 646beb8c
...@@ -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 = strdup( qtu( urls ) ); const char *psz_urls = 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