[vlc-devel] [PATCH 1/3] access: rist: memset again is no-op since p_sys is created by vlc_obj_calloc

Thomas Guillem thomas at gllm.fr
Thu Nov 15 09:20:01 CET 2018


Set merged, thanks!

On Tue, Nov 13, 2018, at 08:35, Zhao Zhili wrote:
> ---
>  modules/access/rist.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/modules/access/rist.c b/modules/access/rist.c
> index 94103f7..1e5ef5d 100644
> --- a/modules/access/rist.c
> +++ b/modules/access/rist.c
> @@ -998,7 +998,6 @@ static int Open(vlc_object_t *p_this)
>  
>      p_access->p_sys = p_sys;
>  
> -    memset(p_sys->sender_name, 0, MAX_CNAME);
>      vlc_mutex_init( &p_sys->lock );
>  
>      if ( vlc_UrlParse( &parsed_url, p_access->psz_url ) == -1 )
> -- 
> 2.9.5
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list