]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/rtp.c
Remove useless vlc_object_detach() before vlc_object_release()
[vlc] / modules / stream_out / rtp.c
index fc29d74593a23bb770526bd6734479c6faf6e71e..ac146cdcda4d7fee10c67336b8d021c1f2d8512f 100644 (file)
@@ -1419,7 +1419,6 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
     if( p_sys->b_export_sap && !p_sys->p_mux ) SapSetup( p_stream );
     if( p_sys->psz_sdp_file != NULL ) FileSetup( p_stream );
 
-    vlc_object_detach( id );
     vlc_object_release( id );
     return VLC_SUCCESS;
 }