static int Create( vlc_object_t *p_this )
{
vout_thread_t *p_vout = (vout_thread_t *)p_this;
- vout_sys_t *p_sys = NULL;
+ vout_sys_t *p_sys;
p_vout->pf_init = Init;
p_vout->pf_end = End;
p_vout->pf_manage = Manage;
CloseDisplay( p_vout );
free( p_sys );
- p_sys = NULL;
}
static int Manage( vout_thread_t *p_vout )