summaryrefslogtreecommitdiffstats
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorPan Nengyuan2020-03-05 17:09:15 +0100
committerPeter Maydell2020-03-05 17:09:15 +0100
commit1afaadb592f3eeb7043a9fb7ae507862579ebf9d (patch)
treed6c4fdbdaa7de8b4f315d1587a5a3a7ccfc61d91 /device-hotplug.c
parenthw/arm/musicpal: Simplify since the machines are little-endian only (diff)
downloadqemu-1afaadb592f3eeb7043a9fb7ae507862579ebf9d.tar.gz
qemu-1afaadb592f3eeb7043a9fb7ae507862579ebf9d.tar.xz
qemu-1afaadb592f3eeb7043a9fb7ae507862579ebf9d.zip
hw/arm/pxa2xx: move timer_new from init() into realize() to avoid memleaks
There are some memleaks when we call 'device_list_properties'. This patch move timer_new from init into realize to fix it. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com> Message-id: 20200227025055.14341-3-pannengyuan@huawei.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions