]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/directx.c
Remove useless vlc_object_detach() before vlc_object_release()
[vlc] / modules / audio_output / directx.c
index ce57d5bc5d3c1c8d30881110a2055c7368b58e4d..f7e6895d313cfdf6c16aff0468f6a9196bfdf178 100644 (file)
@@ -613,7 +613,6 @@ static void CloseAudio( vlc_object_t *p_this )
     /* kill the position notification thread, if any */
     if( p_sys->p_notif )
     {
-        vlc_object_detach( p_sys->p_notif );
         vlc_object_kill( p_sys->p_notif );
         /* wake up the audio thread if needed */
         if( !p_sys->b_playing ) SetEvent( p_sys->p_notif->event );