Commit d2bf0f14 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

RAOP: NULL dereference on error path

parent c229462a
...@@ -1387,10 +1387,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -1387,10 +1387,7 @@ static int Open( vlc_object_t *p_this )
p_sys = calloc( 1, sizeof( *p_sys ) ); p_sys = calloc( 1, sizeof( *p_sys ) );
if ( p_sys == NULL ) if ( p_sys == NULL )
{ return VLC_ENOMEM;
i_err = VLC_ENOMEM;
goto error;
}
p_stream->pf_add = Add; p_stream->pf_add = Add;
p_stream->pf_del = Del; p_stream->pf_del = Del;
......
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