[PATCH 0/2] Fix the Device USB and Vsock memory leak


Long Liu
 

1.Release the Vhost vsock when deinit the vsock.
2.Add endpoint index value check in xhci doorbell register write

Liu Long (2):
ACRN: DM: Release vsock struct in case memory leak
ACRN: DM: Add endpoint index check in xhci register write

devicemodel/hw/pci/virtio/vhost_vsock.c | 14 ++++++++------
devicemodel/hw/pci/xhci.c | 2 +-
2 files changed, 9 insertions(+), 7 deletions(-)

--
2.25.1

Join {acrn-dev@lists.projectacrn.org to automatically receive all group messages.