Re: [Qemu-devel] [PATCH RFC 2/3] xen_disk: fix memory leak

2013-01-04 Thread Stefano Stabellini
On Mon, 31 Dec 2012, Roger Pau Monne wrote: > On ioreq_release the full ioreq was memset to 0, loosing all the data > and memory allocations inside the QEMUIOVector, which leads to a > memory leak. Create a new function to specifically reset ioreq. > > Reported-by: Maik Wessler > Signed-off-by: R

[Qemu-devel] [PATCH RFC 2/3] xen_disk: fix memory leak

2012-12-31 Thread Roger Pau Monne
On ioreq_release the full ioreq was memset to 0, loosing all the data and memory allocations inside the QEMUIOVector, which leads to a memory leak. Create a new function to specifically reset ioreq. Reported-by: Maik Wessler Signed-off-by: Roger Pau Monné Cc: xen-de...@lists.xen.org Cc: Stefano