Commit 5777fa8d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

services_discovery/shout.c: No need to incref. (fix a memleak).

parent ef03a24f
......@@ -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 );
......
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