Skip to content
Snippets Groups Projects
Commit 9d324b0e authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

ahci: free irqs array


Each irq is referenced by the IDEBus in ide_init2(), thus we can free
the no longer used array.

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: default avatarJohn Snow <jsnow@redhat.com>
Acked-by: default avatarJohn Snow <jsnow@redhat.com>
parent 1371a369
No related branches found
No related tags found
No related merge requests found
......@@ -1478,6 +1478,7 @@ void ahci_realize(AHCIState *s, DeviceState *qdev, AddressSpace *as, int ports)
ad->port.dma->ops = &ahci_dma_ops;
ide_register_restart_cb(&ad->port);
}
g_free(irqs);
}
void ahci_uninit(AHCIState *s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment