Re: [PATCH v3 2/3] virtio-balloon: fix memory leak while attach virtio-balloon device

2019-12-12 Thread David Hildenbrand
On 09.12.19 03:00, pannengy...@huawei.com wrote: > From: Pan Nengyuan > > ivq/dvq/svq/free_page_vq forgot to cleanup in > virtio_balloon_device_unrealize, the memory leak stack is as follow: > > Direct leak of 14336 byte(s) in 2 object(s) allocated from: > #0 0x7f99fd9d8560 in calloc (/usr/l

[PATCH v3 2/3] virtio-balloon: fix memory leak while attach virtio-balloon device

2019-12-08 Thread pannengyuan
From: Pan Nengyuan ivq/dvq/svq/free_page_vq forgot to cleanup in virtio_balloon_device_unrealize, the memory leak stack is as follow: Direct leak of 14336 byte(s) in 2 object(s) allocated from: #0 0x7f99fd9d8560 in calloc (/usr/lib64/libasan.so.3+0xc7560) #1 0x7f99fcb20015 in g_malloc0 (