diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-01 13:06:17 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-01 13:06:17 -0500 |
commit | 596235300608575ece1828b12a5faf32ebfee3fc (patch) | |
tree | d8f458d70ddceae02c9e6e027d68910a91c3c16b /hw | |
parent | 90ea59fe7d121c722e1b44cb9bc0fad1ade73686 (diff) | |
parent | 0ce6a434176e274a7e86bcaa268542c5cc402696 (diff) |
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sysbus.c | 2 |
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; } |