qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 14/14] qbus: initialize in standard way


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 14/14] qbus: initialize in standard way
Date: Wed, 02 May 2012 10:34:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0

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

[Prev in Thread] Current Thread [Next in Thread]