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

2019-12-04 Thread Laurent Vivier
On 04/12/2019 08:31, pannengy...@huawei.com wrote: > From: Pan Nengyuan > > ivq/dvq/svq/free_page_vq is 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

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

2019-12-03 Thread pannengyuan
From: Pan Nengyuan ivq/dvq/svq/free_page_vq is 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