Commit 688f0a8d authored by Rémi Duraffort's avatar Rémi Duraffort

Don't print a message a malloc failed.

parent 80aa55bb
...@@ -324,10 +324,7 @@ static int Activate( vlc_object_t *p_this ) ...@@ -324,10 +324,7 @@ static int Activate( vlc_object_t *p_this )
p_intf->p_sys = malloc( sizeof( intf_sys_t ) ); p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
if( !p_intf->p_sys ) if( !p_intf->p_sys )
{
msg_Err( p_intf, "no memory" );
return VLC_ENOMEM; return VLC_ENOMEM;
}
p_intf->p_sys->pi_socket_listen = pi_socket; p_intf->p_sys->pi_socket_listen = pi_socket;
p_intf->p_sys->i_socket = -1; p_intf->p_sys->i_socket = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment