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: sta...@dpdk.org

Signed-off-by: Tiwei Bie <tiwei....@intel.com>
---
  lib/librte_vhost/vhost_user.c | 3 +++
  1 file changed, 3 insertions(+)



Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>

Thanks,
Maxime

Reply via email to