On 28/04/2015 18:51, Eric Auger wrote:
> - prop->check(obj, name, new_target, &local_err);
> + object_ref(new_target);
> + *child = new_target;
> +
> + prop->check(obj, name, child, &local_err);
> if (local_err) {
> error_propagate(errp, local_err);
> + *child = old_target;
> + object_ref(new_target);
This should be an unref.
Paolo
> return;
> }
>
> - object_ref(new_target);
> - *child = new_target;
> object_unref(old_target);
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm