| Submitter | Isaku Yamahata |
|---|---|
| Date | July 9, 2010, 1:50 a.m. |
| Message ID | <c7e8ea68cce5e6b10e3378463e6befd335fd723b.1278640212.git.yamahata@valinux.co.jp> |
| Download | mbox | patch |
| Permalink | /patch/58320/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/pci.c b/hw/pci.c index a7ff566..25634ed 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -298,6 +298,7 @@ static void pci_unregister_secondary_bus(PCIBus *bus) { assert(QLIST_EMPTY(&bus->child)); QLIST_REMOVE(bus, sibling); + qbus_free(&bus->qbus); } int pci_bus_num(PCIBus *s)
Fix leak in pci_unregister_secondary_bus(). call qbus_free(). Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> --- hw/pci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)