Pan Nengyuan
af6c91b490
stellaris: delay timer_new to avoid memleaks
...
There is a memory leak when we call 'device_list_properties' with typename = stellaris-gptm. It's easy to reproduce as follow:
virsh qemu-monitor-command vm1 --pretty '{"execute": "device-list-properties", "arguments": {"typename": "stellaris-gptm"}}'
This patch delay timer_new in realize to fix it.
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200205070659.22488-4-pannengyuan@huawei.com
Cc: qemu-arm@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-02-07 14:04:28 +00:00
..
2020-01-17 14:09:30 +00:00
2020-01-24 20:59:15 +01:00
2020-01-29 19:28:52 +01:00
2020-01-30 16:02:02 +00:00
2020-01-30 16:02:02 +00:00
2020-01-30 16:02:02 +00:00
2019-10-25 13:09:27 +01:00
2020-01-24 20:59:15 +01:00
2020-01-29 19:28:52 +01:00
2019-10-22 17:44:01 +01:00
2019-09-04 14:44:54 +01:00
2019-10-22 17:44:01 +01:00
2019-09-03 16:20:34 +01:00
2019-09-04 14:44:54 +01:00
2020-01-23 16:34:15 +00:00
2019-09-03 16:20:34 +01:00
2019-09-03 16:20:34 +01:00
2019-07-05 17:08:03 -03:00
2020-01-17 14:27:16 +00:00
2019-09-03 16:20:34 +01:00
2019-08-16 13:31:52 +02:00
2019-10-25 13:09:27 +01:00
2019-09-03 11:26:55 -03:00
2020-01-24 20:59:15 +01:00
2020-01-17 14:09:29 +00:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2020-01-17 14:09:29 +00:00
2019-09-03 11:26:55 -03:00
2019-09-04 14:44:54 +01:00
2019-08-16 13:31:53 +02:00
2019-10-22 17:44:00 +01:00
2019-10-22 17:44:00 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:53 +02:00
2019-10-24 20:10:27 +02:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:53 +02:00
2020-01-17 14:09:29 +00:00
2020-01-24 20:59:15 +01:00
2019-12-16 17:24:07 +01:00
2020-01-07 17:24:29 +04:00
2020-01-07 17:24:29 +04:00
2019-10-22 17:44:01 +01:00
2019-10-22 17:44:01 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2020-01-30 16:02:03 +00:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-12-19 14:57:14 -03:00
2020-01-24 20:59:15 +01:00
2018-05-04 18:05:51 +01:00
2019-12-20 14:03:00 +00:00
2019-12-20 14:03:00 +00:00
2020-01-24 20:59:15 +01:00
2020-02-07 14:04:28 +00:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-10-22 17:44:01 +01:00
2019-08-16 13:31:53 +02:00
2019-09-03 11:26:55 -03:00
2019-03-22 16:18:07 +00:00
2019-09-03 11:26:55 -03:00
2019-09-03 11:26:55 -03:00
2019-12-16 10:46:35 +00:00
2020-01-30 16:02:06 +00:00
2019-10-22 17:44:00 +01:00
2019-09-03 11:26:55 -03:00
2020-01-24 20:59:15 +01:00
2019-09-03 11:26:55 -03:00
2020-01-24 20:59:15 +01:00
2019-09-03 11:26:55 -03:00