static void vmdk_free_last_extent(BlockDriverState *bs)

{

    BDRVVmdkState *s = bs->opaque;



    if (s->num_extents == 0) {

        return;

    }

    s->num_extents--;

    s->extents = g_realloc(s->extents, s->num_extents * sizeof(VmdkExtent));

}

static void vmdk_free_last_extent(BlockDriverState *bs)

{

    BDRVVmdkState *s = bs->opaque;



    if (s->num_extents == 0) {

        return;

    }

    s->num_extents--;

    s->extents = g_realloc(s->extents, s->num_extents * sizeof(VmdkExtent));

}

    s->extents = g_realloc(s->extents, s->num_extents * sizeof(VmdkExtent));
static void FUNC_0(BlockDriverState *VAR_0)

{

    BDRVVmdkState *s = VAR_0->opaque;



    if (s->num_extents == 0) {

        return;

    }

    s->num_extents--;

    s->extents = g_realloc(s->extents, s->num_extents * sizeof(VmdkExtent));

}

static void FUNC_0(BlockDriverState *VAR_0)
{ BDRVVmdkState *s = VAR_0->opaque; if (s->num_extents == 0) { return; } s->num_extents--; s->extents = g_realloc(s->extents, s->num_extents * sizeof(VmdkExtent)); }