]> git.sesse.net Git - vlc/blobdiff - modules/control/rc.c
Don't print a message a malloc failed.
[vlc] / 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;