vmdk: fix double free
authorJuan Quintela <quintela@redhat.com>
Thu, 4 Mar 2010 09:00:36 +0000 (10:00 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Mar 2010 17:23:00 +0000 (11:23 -0600)
commit005859178c88afda498cd5671467a00f5cfeae21
treec7999d3dfd8316ea06350d8aa7c8c75b6cd5db1f
parent2165ffb2b6af14fd7baf90f7aeb305f5d0e05066
vmdk: fix double free

fail_gd error case would also free rgd_buf that was already freed

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/vmdk.c