[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/3] virtio: fix memory leak in virtio-balloon/virtio-serial-b
From: |
pannengyuan |
Subject: |
[PATCH v3 0/3] virtio: fix memory leak in virtio-balloon/virtio-serial-bus |
Date: |
Mon, 9 Dec 2019 10:00:07 +0800 |
From: Pan Nengyuan <address@hidden>
This series add a new function to cleanup vqueue through a vq pointer, and fix
memory
leaks in virtio-balloon and virtio-serial-bus.
---
Changes v2 to v1:
- add a new function to cleanup vqueue through a vq pointer.
---
Changes v3 to v2:
- change function name from virtio_delete_queue to virtio_queue_cleanup.
Michael S. Tsirkin(1)
virtio: add ability to delete vq through a pointer
Pan Nengyuan (2):
virtio-balloon: fix memory leak while attach virtio-balloon device
virtio-serial-bus: fix memory leak while attach virtio-serial-bus
hw/char/virtio-serial-bus.c | 8 ++++++++
hw/virtio/virtio-balloon.c | 7 +++++++
hw/virtio/virtio.c | 16 +++++++++++-----
include/hw/virtio/virtio.h | 2 ++
4 files changed, 28 insertions(+), 5 deletions(-)
--
2.7.2.windows.1
- [PATCH v3 0/3] virtio: fix memory leak in virtio-balloon/virtio-serial-bus,
pannengyuan <=