]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hyperv: Simplify @memResource freeing in hypervDomainSetMemoryFlags()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 15 Oct 2020 13:34:02 +0000 (15:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 19 Oct 2020 09:13:10 +0000 (11:13 +0200)
commit07cec18a511f4d64a938c140b086c0ee8a3ff0e3
tree0c0cf5493f04e00c88c15005e5d299d86ee889b9
parente0a09c243cdc2dcc2ba635e9840b6e9460e5cf0f
hyperv: Simplify @memResource freeing in hypervDomainSetMemoryFlags()

Now, that ownership transfer of hypervSetEmbeddedProperty() is
clear, we can use automatic freeing of the hash table.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Matt Coleman <matt@datto.com>
src/hyperv/hyperv_driver.c