Avoid using msg_* when running out of memory.
authorRémi Duraffort <ivoire@videolan.org>
Fri, 29 May 2009 09:24:04 +0000 (11:24 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 29 May 2009 10:29:43 +0000 (12:29 +0200)
modules/gui/maemo/maemo.c

index 4d2234c..08bebcc 100644 (file)
@@ -84,10 +84,7 @@ static int Open( vlc_object_t *p_this )
     /* Allocate instance and initialize some members */
     p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
     if( p_intf->p_sys == NULL )
-    {
-        msg_Err( p_intf, "out of memory" );
         return VLC_ENOMEM;
-    }
 
     p_intf->pf_run = Run;