block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close
PATCH 1/1 block/qcow2.c : call qcow2_free_snapshots in the function of qcow2_close
Signed-off-by Li Zhi Hui <[email protected]>
--- block/qcow2.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
block/qcow2.c +1 -0
@@ -635,6 +635,7 @@ static void qcow2_close(BlockDriverState *bs)g_free (s->cluster_cache);qemu_vfree (s->cluster_data);qcow2_refcount_close (bs); +qcow2_free_snapshots (bs); }static void qcow2_invalidate_cache (BlockDriverState *bs)
Signature · 1 line
1.7.4.1
Quoted 4 lines · Li Zhi Hui
Signed-off-by Li Zhi Hui <[email protected]>---
block/qcow2.c | 1 +1 files changed, 1 insertions(+), 0 deletions(-)
Reviewed-by Stefan Hajnoczi <[email protected]>
Kevin Wolf
AppliedAm 07.12.2011 10:25, schrieb Li Zhi Hui:
Quoted 4 lines
Signed-off-by Li Zhi Hui <[email protected]>--- block/qcow2.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied to the block branch.
Kevin