summary refs log tree commit diff stats
path: root/hw/ipack/ipack.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ipack/ipack.c')
-rw-r--r--hw/ipack/ipack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c
index ef032e6604..59bfe2869e 100644
--- a/hw/ipack/ipack.c
+++ b/hw/ipack/ipack.c
@@ -66,7 +66,7 @@ static void ipack_device_unrealize(DeviceState *dev, Error **errp)
         return;
     }
 
-    qemu_free_irqs(idev->irq);
+    qemu_free_irqs(idev->irq, 2);
 }
 
 static Property ipack_device_props[] = {