Fix virtio memleaks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | virtio-balloon: Add exit handler, fix memleakshw/ hw/ hw/ | +20 | 0 replies | |
| 2/4 | virtio-blk: Fix memleak on exithw/ | +1 | 1 reply | |
| 3/4 | virtio-net: Fix potential use-after-freehw/ | +1 | 2 replies | |
| 4/4 | virtio: Plug memleak by freeing vdevhw/ | +1 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Kevin Wolf |
|---|---|
| 1/4 | |
| 2/4 | A-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/4] Fix virtio memleaks
The memory allocated in virtio_common_init() wasn't being freed anywhere. Fix that.
The balloon handler wasn't unregistering its savevm section, adding an exit handler fixes that as well.
This patchset is on top of the two balloon series I've sent out yesterday and today.
Amit Shah (4):
virtio-balloon: Add exit handler, fix memleaks
virtio-blk: Fix memleak on exit
virtio-net: Fix potential use-after-free
virtio: Plug memleak by freeing vdev
hw/virtio-balloon.c | 9 +++++++++ hw/virtio-blk.c | 1 + hw/virtio-net.c | 2 +- hw/virtio-pci.c | 11 ++++++++++- hw/virtio.c | 1 + hw/virtio.h | 1 + 6 files changed, 23 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.6