[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] ide: ahci: fix memory leak in device unit
From: |
Li Qiang |
Subject: |
[Qemu-devel] [PATCH 0/2] ide: ahci: fix memory leak in device unit |
Date: |
Wed, 8 Feb 2017 23:04:02 -0800 |
As the pci ahci can be hotplug and unplug, in the ahci unrealize
function it should free all the resource once allocated in the
realized function. This patchset first add cleanup function in
core layer and then call it in the ahci unit.
Li Qiang (2):
ide: core: add cleanup function
ide: ahci: call cleanup function in ahci unit
hw/ide/ahci.c | 8 ++++++++
hw/ide/core.c | 21 +++++++++++++++++++++
include/hw/ide/internal.h | 2 ++
3 files changed, 31 insertions(+)
--
1.8.3.1
- [Qemu-devel] [PATCH 0/2] ide: ahci: fix memory leak in device unit,
Li Qiang <=
Re: [Qemu-devel] [PATCH 1/2] ide: core: add cleanup function, John Snow, 2017/02/28
[Qemu-devel] [PATCH 2/2] ide: ahci: call cleanup function in ahci unit, Li Qiang, 2017/02/09