]> git.sesse.net Git - vlc/blobdiff - modules/video_output/opengl.c
Remove useless vlc_object_detach() before vlc_object_release()
[vlc] / modules / video_output / opengl.c
index 90e4416fab9417c0e51e5bf17c5043a8c002c1c5..c1dfb444b54c361570820b5a93453148a04a984e 100644 (file)
@@ -157,7 +157,6 @@ static int CreateVout( vlc_object_t *p_this )
     if( p_sys->p_vout->p_module == NULL )
     {
         msg_Warn( p_vout, "No OpenGL provider found" );
-        vlc_object_detach( p_sys->p_vout );
         /* no need for var_DelCallback here :-) */
         vlc_object_release( p_sys->p_vout );
         free( p_sys );