diff options
author | Pan Nengyuan <pannengyuan@huawei.com> | 2020-03-05 16:09:15 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-03-05 16:09:15 +0000 |
commit | 1afaadb592f3eeb7043a9fb7ae507862579ebf9d (patch) | |
tree | d6c4fdbdaa7de8b4f315d1587a5a3a7ccfc61d91 /Makefile | |
parent | 98335f61794d96e57dbd3f3f529b8c4c7d188ba3 (diff) |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions