Browse Source

RAOP: NULL dereference on error path

pull/18/head
Rémi Denis-Courmont 12 years ago
parent
commit
d2bf0f147c
  1. 5
      modules/stream_out/raop.c

5
modules/stream_out/raop.c

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

Loading…
Cancel
Save