]> git.sesse.net Git - vlc/commitdiff
Don't print a message a malloc failed.
authorRémi Duraffort <ivoire@videolan.org>
Fri, 1 Aug 2008 14:11:28 +0000 (16:11 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 1 Aug 2008 14:11:28 +0000 (16:11 +0200)
modules/control/rc.c

index 8b3b8d6583bdf48956e1b7231513e08e645a17d6..2caddd2ecdebb90439fef5c9e03ac8961afb9ccc 100644 (file)
@@ -324,10 +324,7 @@ static int Activate( vlc_object_t *p_this )
 
     p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
     if( !p_intf->p_sys )
-    {
-        msg_Err( p_intf, "no memory" );
         return VLC_ENOMEM;
-    }
 
     p_intf->p_sys->pi_socket_listen = pi_socket;
     p_intf->p_sys->i_socket = -1;