Re: [PATCH v2] bugfix: hostmem: Free host_nodes list right after visited

2020-12-18 Thread Eduardo Habkost
On Thu, Dec 10, 2020 at 03:52:26PM +0800, Keqian Zhu wrote: > In host_memory_backend_get_host_nodes, we build host_nodes > list and output it to v (a StringOutputVisitor) but forget > to free the list. This fixes the memory leak. > > The memory leak stack: > > Direct leak of 32 byte(s) in 2 obje

Ping: [PATCH v2] bugfix: hostmem: Free host_nodes list right after visited

2020-12-18 Thread Keqian Zhu
Hi Peter, Friendly ping :-) Are you going to queue this? Thanks, Keqian On 2020/12/10 15:52, Keqian Zhu wrote: > In host_memory_backend_get_host_nodes, we build host_nodes > list and output it to v (a StringOutputVisitor) but forget > to free the list. This fixes the memory leak. > > The memory

[PATCH v2] bugfix: hostmem: Free host_nodes list right after visited

2020-12-09 Thread Keqian Zhu
In host_memory_backend_get_host_nodes, we build host_nodes list and output it to v (a StringOutputVisitor) but forget to free the list. This fixes the memory leak. The memory leak stack: Direct leak of 32 byte(s) in 2 object(s) allocated from: #0 0xfffda30b3393 in __interceptor_calloc (/usr/