[vlc-devel] [vlc-commits] sout_description: fix malloc usage
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Mon Feb 16 18:49:13 CET 2015
    
    
  
Le lundi 16 février 2015, 18:47:54 Rémi Denis-Courmont a écrit :
>  static int Del( sout_stream_t *p_stream, sout_stream_id_sys_t *id )
>  {
>      msg_Dbg( p_stream, "Removing a stream" );
> -
> -    free( id );
> +    /* NOTE: id should be freed by the input manager, not here. */
> +    (void) id;
>      return VLC_SUCCESS;
>  }
I couldn't find the corresponding code in VLM. There may be a leak.
-- 
Rémi Denis-Courmont
http://www.remlab.net/
    
    
More information about the vlc-devel
mailing list