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: [email protected]
Signed-off-by: Tiwei Bie <[email protected]>
---
lib/librte_vhost/vhost_user.c | 3 +++
1 file changed, 3 insertions(+)
Reviewed-by: Maxime Coquelin <[email protected]> Thanks, Maxime

