[dpdk-stable] [PATCH 1/2] vhost: fix memory leak on realloc	failure
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Mon Jan 14 11:20:00 CET 2019
    
    
  
On 1/14/19 4:34 AM, Tiwei Bie wrote:
> When realloc() fails, the original block isn't freed.
> 
> Fixes: e246896178e6 ("vhost: get guest/host physical address mappings")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
>   lib/librte_vhost/vhost_user.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
    
    
More information about the stable
mailing list