aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/strongarm.c
diff options
context:
space:
mode:
authorPan Nengyuan <pannengyuan@huawei.com>2020-03-05 16:09:16 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-03-05 16:09:16 +0000
commit5719f9745ef54c1b644e3df0bc69869be70cf810 (patch)
treecc4515c022c5281fc1198c0be4aea50b9ef91146 /hw/arm/strongarm.c
parent1afaadb592f3eeb7043a9fb7ae507862579ebf9d (diff)
hw/arm/spitz: 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-4-pannengyuan@huawei.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/strongarm.c')
0 files changed, 0 insertions, 0 deletions