Il 01/05/2012 20:18, Anthony Liguori ha scritto:
>      if (bus->qdev_allocated) {
> -        g_free(bus);
> +        object_delete(OBJECT(bus));
> +    } else {
> +        object_finalize(OBJECT(bus));
>      }

Time is ripe to add a more versatile freeing mechanism along the lines
you've set in the past (either a callback or a notifier that object_new
would set to a g_free wrapper).  Anthony, are you going to do this?

Paolo

Reply via email to