On Fri, Oct 11, 2013 at 08:08:35PM +0800, Fam Zheng wrote: > @@ -814,6 +821,7 @@ static int vmdk_open_desc_file(BlockDriverState *bs, int > flags, > ret = -ENOTSUP; > goto exit; > } > + s->create_type = g_strdup(ct);
Where is this freed if opening the file fails?