You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mlx5: vfio: fix memory leak in mlx5_vfio_get_iommu_info
[ Upstream commit f6346c2 ]
If realloc fails, info pointers is being set to NULL although its original
memory has not been freed.
Use a temporary pointer to be able to free the original memory in case
realloc fails.
Fixes: bfc56ce ("mlx5: Setup mlx5 vfio context")
Signed-off-by: Nicolas Morey <[email protected]>
0 commit comments