Il 22/05/2014 12:23, Stefan Hajnoczi ha scritto:
I had an intermediate version of this patch with a flag so you could
tell object_property_add_alias() whether or not to ref the target
object.  But in the end it seems like overengineering since the
refcount case is rare or non-existent.  The refcount is a convenience
feature just for the case where you want to alias to a random object
that you don't otherwise hold a refcount on (I couldn't think of an
example).

Do you see what I mean?

Yes, and it makes sense.  Perhaps add a comment for v2.

Paolo

Reply via email to