Zheng Huang 1c2d03bb08 hw/sd/sdhci: free irq on exit
Fix a memory leak bug in sdhci_pci_realize() due to s->irq
not being freed in sdhci_pci_exit().

Signed-off-by: Zheng Huang <hz1624917200@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <09ddf42b-a6db-42d5-954b-148d09d8d6cc@gmail.com>
[PMD: Moved qemu_free_irq() call before sdhci_common_unrealize()]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2025-03-31 21:32:43 +02:00
..
2020-09-09 15:54:18 -07:00
2024-10-01 14:25:29 +01:00
2025-01-31 19:36:44 +01:00
2024-12-20 17:44:56 +01:00
2025-01-31 19:36:44 +01:00
2025-02-16 14:26:07 +01:00
2025-03-31 21:32:43 +02:00
2024-12-20 17:44:56 +01:00
2024-10-01 14:25:29 +01:00