]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/podcast.c
Usefull coment instead of "Gruik" (evenif I like the previous one...)
[vlc] / modules / services_discovery / podcast.c
index 63993e904b091262ddb7687604b7fa6096a725b8..5819b4e56a0175f9dd828b8cedc4982ce4b1ea50 100644 (file)
@@ -155,11 +155,12 @@ 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( !p_sd->b_die )
+    while( vlc_object_alive (p_sd) )
     {
         int i;
         if( p_sys->b_update == true )