]> git.sesse.net Git - vlc/commitdiff
Remove silly "out of memory" messages.
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 9 May 2008 12:51:46 +0000 (14:51 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 9 May 2008 12:59:03 +0000 (14:59 +0200)
modules/gui/fbosd.c

index 54985c4ed53a56bd9652e5934d3d2d88531fe5e9..2b4d5c99a6fc3b9d807b18ea8d3b1d47ac633003 100644 (file)
@@ -311,17 +311,13 @@ static int Create( vlc_object_t *p_this )
     /* Allocate instance and initialize some members */
     p_intf->p_sys = p_sys = malloc( sizeof( intf_sys_t ) );
     if( !p_intf->p_sys )
-    {
-        msg_Err( p_intf, "out of memory" );
         return VLC_ENOMEM;
-    };
     memset( p_sys, 0, sizeof(intf_sys_t) );
 
     p_sys->p_style = malloc( sizeof( text_style_t ) );
     if( !p_sys->p_style )
     {
         free( p_intf->p_sys );
-        msg_Err( p_intf, "out of memory" );
         return VLC_ENOMEM;
     }
     vlc_memcpy( p_sys->p_style, &default_text_style, sizeof( text_style_t ) );
@@ -333,7 +329,6 @@ static int Create( vlc_object_t *p_this )
     {
         free( p_intf->p_sys->p_style );
         free( p_intf->p_sys );
-        msg_Err( p_intf, "out of memory" );
         return VLC_ENOMEM;
     }