]> git.sesse.net Git - vlc/commitdiff
opengl: No need to detach the vout from here.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 4 Jul 2008 11:16:13 +0000 (13:16 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 4 Jul 2008 23:46:13 +0000 (01:46 +0200)
modules/video_output/opengl.c

index d9eaac159b8ab426b5187f4fb19e272b5db746f2..32d56e256f6af68184698eb381855b16bbc7e196 100644 (file)
@@ -566,7 +566,6 @@ static void DestroyVout( vlc_object_t *p_this )
     vout_sys_t *p_sys = p_vout->p_sys;
 
     module_Unneed( p_sys->p_vout, p_sys->p_vout->p_module );
-    vlc_object_detach( p_sys->p_vout );
     vlc_object_release( p_sys->p_vout );
 
     free( p_sys );