services_discovery/shout.c: No need to incref. (fix a memleak).
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 24 Dec 2007 01:18:54 +0000 (01:18 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 24 Dec 2007 01:18:54 +0000 (01:18 +0000)
modules/services_discovery/shout.c

index 221ac5c..6172df0 100644 (file)
@@ -137,8 +137,6 @@ static void Run( services_discovery_t *p_sd )
         input_ItemAddOption( p_input, p_items[i_type].ppsz_options[i] );
     input_ItemAddOption( p_input, "no-playlist-autostart" );
 
-
-    vlc_gc_incref( p_input );
     vlc_event_attach( &p_input->event_manager, vlc_InputItemSubItemAdded,
                       ItemAdded, p_sd );
     input_Read( p_sd, p_input, VLC_TRUE );