Skip to content
Snippets Groups Projects
Commit d7aabe68 authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by hartman
Browse files

minimal_macosx: return VLC_ENOMEM on malloc error

(cherry picked from commit 100c91e7315651bd94d27e9fce4b62ab47e26127)

Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent ce4b3f10
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ int OpenIntf ( vlc_object_t *p_this )
p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
if( p_intf->p_sys == NULL )
{
return( 1 );
return VLC_ENOMEM;
}
memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment