Re: [PATCH 3/3] stellaris: delay timer_new to avoid memleaks

2020-02-05 Thread Philippe Mathieu-Daudé
On 2/5/20 8:06 AM, pannengy...@huawei.com wrote: From: Pan Nengyuan 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": {"

[PATCH 3/3] stellaris: delay timer_new to avoid memleaks

2020-02-04 Thread pannengyuan
From: Pan Nengyuan 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 tim