[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/7] vfio: platform: free timer in error path
From: |
Li Qiang |
Subject: |
[Qemu-devel] [PATCH 6/7] vfio: platform: free timer in error path |
Date: |
Thu, 18 Oct 2018 22:20:11 -0700 |
Signed-off-by: Li Qiang <address@hidden>
---
hw/vfio/platform.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c
index 6a4fd7b..ba19143 100644
--- a/hw/vfio/platform.c
+++ b/hw/vfio/platform.c
@@ -518,6 +518,7 @@ static int vfio_populate_device(VFIODevice *vbasedev, Error
**errp)
return 0;
irq_err:
timer_del(vdev->mmap_timer);
+ timer_free(vdev->mmap_timer);
QLIST_FOREACH_SAFE(intp, &vdev->intp_list, next, tmp) {
QLIST_REMOVE(intp, next);
g_free(intp);
--
1.8.3.1
- [Qemu-devel] [PATCH 0/7] vfio: some trivial fixes, Li Qiang, 2018/10/19
- [Qemu-devel] [PATCH 5/7] vfio: platform: cleanup the notifier in error path, Li Qiang, 2018/10/19
- [Qemu-devel] [PATCH 2/7] vfio: ap-device: make it more QOMConventional, Li Qiang, 2018/10/19
- [Qemu-devel] [PATCH 3/7] vfio: drop TYPE_FOO MACRO in VMStateDescription, Li Qiang, 2018/10/19
- [Qemu-devel] [PATCH 1/7] vfio-pci: make "vfio-pci-nohotplug" as MACRO, Li Qiang, 2018/10/19
- [Qemu-devel] [PATCH 6/7] vfio: platform: free timer in error path,
Li Qiang <=
- [Qemu-devel] [PATCH 4/7] vfio: paltform: fix a typo, Li Qiang, 2018/10/19
- [Qemu-devel] [PATCH 7/7] vfio: platform: destory mutex in error path, Li Qiang, 2018/10/19
- Re: [Qemu-devel] [PATCH 0/7] vfio: some trivial fixes, Philippe Mathieu-Daudé, 2018/10/19