X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fservices_discovery%2Fpodcast.c;h=5819b4e56a0175f9dd828b8cedc4982ce4b1ea50;hb=9589813471d0f5525789b7cf7165e48d177cbad6;hp=8d732703d6741958e2128e9c9d6014f1d658d795;hpb=31d526a9f743e9f122b2a0e14fef5b318adc1dba;p=vlc diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c index 8d732703d6..5819b4e56a 100644 --- a/modules/services_discovery/podcast.c +++ b/modules/services_discovery/podcast.c @@ -155,8 +155,9 @@ static void Run( services_discovery_t *p_sd ) { services_discovery_sys_t *p_sys = p_sd->p_sys; + /* Launch the callback associated with this variable */ char *psz_urls = var_CreateGetString( p_sd, "podcast-urls" ); - free( psz_urls ); /* Gruik ? */ + free( psz_urls ); var_AddCallback( p_sd, "podcast-urls", UrlsChange, p_sys ); while( vlc_object_alive (p_sd) )