On Wed 26 Sep 2018 04:21:21 PM CEST, Leonid Bloch wrote: > Oops, sorry. Would something like that be OK: > > On 9/26/18 1:55 PM, Alberto Garcia wrote: >> On Wed 26 Sep 2018 12:43:03 PM CEST, Kevin Wolf wrote: >>>> + /* Update cache sizes */ >>>> + options = qdict_clone_shallow(bs->options); >>>> + ret = qcow2_update_options(bs, options, s->flags, errp); > + qobject_unref(options); >>>> + if (ret < 0) { >>>> + goto fail; >>>> + } >>>
Yes, I think that should be enough. Berto