summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-03-19 08:58:57 +0100
committerAndreas Färber2014-03-19 22:23:47 +0100
commitabdffd1fb78c1b98bda925d3d59123beca6761a3 (patch)
tree2eccb0dca91eb017d45abdf184a562b09f980940 /include
parentqom: Add check() argument to object_property_add_link() (diff)
downloadqemu-abdffd1fb78c1b98bda925d3d59123beca6761a3.tar.gz
qemu-abdffd1fb78c1b98bda925d3d59123beca6761a3.tar.xz
qemu-abdffd1fb78c1b98bda925d3d59123beca6761a3.zip
virtio-rng: Avoid default_backend refcount leak
QOM child properties take a reference to the object and release it when the property is deleted. Therefore we should unref the default_backend after we have added it as a child property. Cc: KONRAD Frederic <fred.konrad@greensocs.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions