Commit 65618ab0 authored by Jean-Paul Saman's avatar Jean-Paul Saman

opengl: fix potential memleak

parent 80716d85
......@@ -207,6 +207,7 @@ static int CreateVout( vlc_object_t *p_this )
msg_Warn( p_vout, "No OpenGL provider found" );
vlc_object_detach( p_sys->p_vout );
vlc_object_release( p_sys->p_vout );
free( p_sys );
return VLC_ENOOBJ;
}
......
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