Commit ad4996eb authored by Rémi Duraffort's avatar Rémi Duraffort

Avoid using msg_* when running out of memory.

parent 318f7937
......@@ -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;
......
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