OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c17a2
)
sysbus: fix memory leak
author
Gonglei
<arei.gonglei@huawei.com>
Fri, 27 Feb 2015 07:50:18 +0000
(15:50 +0800)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Mar 2015 05:15:34 +0000
(08:15 +0300)
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/core/sysbus.c
patch
|
blob
|
history
diff --git
a/hw/core/sysbus.c
b/hw/core/sysbus.c
index
84af593
..
b53c351
100644
(file)
--- a/
hw/core/sysbus.c
+++ b/
hw/core/sysbus.c
@@
-91,6
+91,8
@@
bool sysbus_has_irq(SysBusDevice *dev, int n)
ObjectProperty *r;
r = object_property_find(OBJECT(dev), prop, NULL);
+ g_free(prop);
+
return (r != NULL);
}