]> git.sesse.net Git - vlc/commitdiff
Fix some crash on exit
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 12 Aug 2008 23:14:39 +0000 (16:14 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 12 Aug 2008 23:15:12 +0000 (16:15 -0700)
Patch by Sephiroth87

modules/services_discovery/podcast.c

index b64243e569b4aff8e05306262a451b85619b7a42..690d0e39d1915fe2873d0902a5e69bae8f66cf00 100644 (file)
@@ -223,6 +223,7 @@ static void ParseUrls( services_discovery_t *p_sd, char *psz_urls )
                                         psz_urls, 0, NULL, -1 );
             input_ItemAddOption( p_input, "demux=podcast" );
             services_discovery_AddItem( p_sd, p_input, NULL /* no cat */ );
+            vlc_gc_decref( p_input );
             INSERT_ELEM( p_sys->pp_input, p_sys->i_input, p_sys->i_input,
                          input_CreateThread( p_sd, p_input ) );
         }