Re: [Qemu-devel] [PATCH] virtio-9p: Fix a memory leak

2011-05-07 Thread Pedro Scarapicchia Junior
leak in both cases. Venkateswararao, what's your opinion? Best regards, Pedro On Sat, May 7, 2011 at 5:56 AM, Stefan Weil w...@mail.berlios.de wrote: Am 07.05.2011 10:34, schrieb Stefan Hajnoczi: On Fri, May 6, 2011 at 8:05 PM, Pedro Scarapicchia Junior pedrinho.re...@gmail.com wrote

[Qemu-devel] [PATCH] virtio-9p: Fix a memory leak

2011-05-06 Thread Pedro Scarapicchia Junior
At v9fs_walk_complete(), the memory allocated at v9fs_walk() is not being released leading system to crash due out of memory. This patch releases structure V9fsWalkState after v9fs_walk is complete. Signed-off-by: Pedro Scarapicchia Junior pedro.scarapic...@br.flextronics.com --- hw/9pfs/virtio