]> git.sesse.net Git - vlc/commitdiff
Fix compilation (my fault).
authorRémi Duraffort <ivoire@videolan.org>
Tue, 14 Oct 2008 21:16:51 +0000 (23:16 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 14 Oct 2008 21:17:48 +0000 (23:17 +0200)
modules/misc/notify/xosd.c

index 4e8fe32125cf84a2c18ae5e3ae2201b5fdb50e17..13c37582dc61cab82ff0254aad45e261e2d28738 100644 (file)
@@ -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;
     }