[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] fix two virtio queues memleak
From: |
Pan Nengyuan |
Subject: |
[PATCH 0/2] fix two virtio queues memleak |
Date: |
Fri, 27 Mar 2020 11:56:48 +0800 |
This series fix two vqs leak:
1. Do delete vqs on the error path in virtio_blk_device_realize().
2. Do delete vqs in virtio_iommu_device_unrealize() to fix another leaks.
Pan Nengyuan (2):
virtio-blk: delete vqs on the error path in realize()
virtio-iommu: delete vqs in unrealize to fix memleaks
hw/block/virtio-blk.c | 8 ++++++--
hw/virtio/virtio-iommu.c | 2 ++
2 files changed, 8 insertions(+), 2 deletions(-)
--
2.18.2
- [PATCH 0/2] fix two virtio queues memleak,
Pan Nengyuan <=