commit | be363e27ec3c3a99793da2be6c07eafb95709c6b | [log] [tgz] |
---|---|---|
author | Li Qiang <liq3ea@gmail.com> | Tue Sep 25 13:01:27 2018 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 09:52:55 2019 +0100 |
tree | 7908446e998f12dcc99d07cdd278351b519639fd | |
parent | 19d875ecbd055b616880d00a5292334ed78a6385 [diff] |
vfio/pci: Fix potential memory leak in vfio_msi_cap_len [ Upstream commit 30ea32ab1951c80c6113f300fce2c70cd12659e4 ] Free allocated vdev->msi_perm in error path. Signed-off-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>