]> git.proxmox.com Git - mirror_qemu.git/commit
object: do not free class properties
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 10 Jan 2020 15:30:24 +0000 (19:30 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 19:59:13 +0000 (20:59 +0100)
commitfc4fe712aed18e0b5b88cfc56769c76d15a6ff66
treec570c2a0bbf11e9dea4eda5698ba3e8c3e4c8c18
parent0e76ed0a5da4c8540597c1ffac72705e04323f69
object: do not free class properties

The release callback is called during object_property_del_all(), on a
live instance. But class properties are common among all
instances. It is not currently called, because we don't release
classes, but it would not be correct if we did.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom/object.c