Signed-off-by: Prasad Joshi <prasadjoshi124@xxxxxxxxx> --- tools/kvm/qcow.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/kvm/qcow.c b/tools/kvm/qcow.c index 243bfa8..9b9af86 100644 --- a/tools/kvm/qcow.c +++ b/tools/kvm/qcow.c @@ -115,6 +115,7 @@ static void qcow1_disk_close(struct disk_image *self) q = self->priv; + free(q->table.l1_table); free(q->header); free(q); } @@ -200,6 +201,7 @@ error: if (!q) return NULL; + free(q->table.l1_table); free(q->header); free(q); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html