Message ID | 1432814932-12608-3-git-send-email-zhaoshenglong@huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 66fb9d9..c9703e2 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -370,6 +370,7 @@ static void pci_cmd646_ide_realize(PCIDevice *dev, Error **errp) d->bmdma[i].bus = &d->bus[i]; ide_register_restart_cb(&d->bus[i]); } + g_free(irq); vmstate_register(DEVICE(dev), 0, &vmstate_ide_pci, d); qemu_register_reset(cmd646_reset, d);