Re: [Qemu-devel] [PATCH] 9pfs: free the private data memory in device unrealize

2016-11-12 Thread Greg Kurz
Hi Li, On Sat, 12 Nov 2016 00:13:56 -0800 Li Qiang wrote: > From: Li Qiang > > When the 9pfs use 'handle'/'proxy' as the backend driver it > will allocate a private data memory. But this memory is not freed in > the unrealize function thus leading a memory leak issue. This patch > avoid this.

[Qemu-devel] [PATCH] 9pfs: free the private data memory in device unrealize

2016-11-12 Thread Li Qiang
From: Li Qiang When the 9pfs use 'handle'/'proxy' as the backend driver it will allocate a private data memory. But this memory is not freed in the unrealize function thus leading a memory leak issue. This patch avoid this. Signed-off-by: Li Qiang --- hw/9pfs/9p.c | 1 + 1 file changed, 1 inse