Re: [Qemu-devel] [PATCH] fix memory leak when we uninit a drive

2011-02-16 Thread Markus Armbruster
Wen Congyang writes: > We alloc memory for dinfo->id, so we should free it in > the function drive_uninit(). Already fixed in Kevin's block tree and 0.14-rc2 (commit e5f1c196), although not yet in stable. Thanks anyway!

[Qemu-devel] [PATCH] fix memory leak when we uninit a drive

2011-02-15 Thread Wen Congyang
We alloc memory for dinfo->id, so we should free it in the function drive_uninit(). Signed-off-by: Wen Congyang --- blockdev.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/blockdev.c b/blockdev.c index ecfadc1..1333a4e 100644 --- a/blockdev.c +++ b/blockdev.c @@ -18