[vlc-devel] commit: Fix compilation (my fault). ( Rémi Duraffort )
git version control
git at videolan.org
Tue Oct 14 23:18:09 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Oct 14 23:16:51 2008 +0200| [7297d0a9df7ef50bdd5164a8a399bdc80d3babc8] | committer: Rémi Duraffort
Fix compilation (my fault).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7297d0a9df7ef50bdd5164a8a399bdc80d3babc8
---
modules/misc/notify/xosd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/misc/notify/xosd.c b/modules/misc/notify/xosd.c
index 4e8fe32..13c3758 100644
--- a/modules/misc/notify/xosd.c
+++ b/modules/misc/notify/xosd.c
@@ -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;
}
More information about the vlc-devel
mailing list