qemu-e2k/qom
Alexander Barabash f0cdc966fb qom: In function object_set_link_property(), first call object_ref(), then object_unref().
In the old implementation, if the new value of the property links
to the same object, as the old value, that object is first unref-ed,
and then ref-ed. This leads to unintended deinitialization of that object.

In the new implementation, this is fixed.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Barabash <alexander_barabash@mentor.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-02-22 13:24:30 -06:00
..
container.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
Makefile qom: add QObject-based property get/set wrappers 2012-02-07 13:52:40 +01:00
object.c qom: In function object_set_link_property(), first call object_ref(), then object_unref(). 2012-02-22 13:24:30 -06:00
qom-qobject.c qom: add QObject-based property get/set wrappers 2012-02-07 13:52:40 +01:00