Commit 7297d0a9 authored by ivoire's avatar ivoire

Fix compilation (my fault).

parent bfbd38a6
......@@ -118,7 +118,7 @@ static int Open( vlc_object_t *p_this )
if( getenv( "DISPLAY" ) == NULL )
{
msg_Err( p_intf, "no display, please set the DISPLAY variable" );
free( p_sys );
free( p_intf->p_sys );
return VLC_EGENERIC;
}
......@@ -134,7 +134,7 @@ static int Open( vlc_object_t *p_this )
if( p_intf->p_sys->p_osd == NULL )
{
msg_Err( p_intf, "couldn't initialize libxosd" );
free( p_sys );
free( p_intf->p_sys );
return VLC_EGENERIC;
}
#else
......@@ -142,7 +142,7 @@ static int Open( vlc_object_t *p_this )
if( p_osd == NULL )
{
msg_Err( p_intf, "couldn't initialize libxosd" );
free( p_sys );
free( p_intf->p_sys );
return VLC_EGENERIC;
}
......
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