qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qobject: Replace property list with GHashTable


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] qobject: Replace property list with GHashTable
Date: Tue, 6 Oct 2015 15:15:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 06/10/2015 15:02, Laszlo Ersek wrote:
>>  void object_unparent(Object *obj)
>>  {
>>      if (obj->parent) {
>> -        object_property_del_child(obj->parent, obj, NULL);
>> +        g_hash_table_foreach_remove(obj->properties,

This should be obj->parent->properties.

Otherwise, the patch looks good.

Paolo

>> +                                    object_property_del_child, obj);
>>      }
>>  }



reply via email to

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