aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-11-01 13:06:17 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 13:06:17 -0500
commit596235300608575ece1828b12a5faf32ebfee3fc (patch)
treed8f458d70ddceae02c9e6e027d68910a91c3c16b /hw
parent90ea59fe7d121c722e1b44cb9bc0fad1ade73686 (diff)
parent0ce6a434176e274a7e86bcaa268542c5cc402696 (diff)
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
Diffstat (limited to 'hw')
-rw-r--r--hw/sysbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/sysbus.c b/hw/sysbus.c
index 4fab5a41b2..fd2fc6a51d 100644
--- a/hw/sysbus.c
+++ b/hw/sysbus.c
@@ -198,6 +198,7 @@ DeviceState *sysbus_create_varargs(const char *name,
sysbus_connect_irq(s, n, irq);
n++;
}
+ va_end(va);
return dev;
}
@@ -229,6 +230,7 @@ DeviceState *sysbus_try_create_varargs(const char *name,
sysbus_connect_irq(s, n, irq);
n++;
}
+ va_end(va);
return dev;
}