]> git.proxmox.com Git - mirror_qemu.git/commit - qom/container.c
container: don't leak container reference
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 14 Dec 2016 19:42:55 +0000 (22:42 +0300)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 4 May 2017 11:34:41 +0000 (15:34 +0400)
commitf8df5f922152a47b3889921d249e00dab766d950
treed598aea802152b2bfc63470c4e0a4831564e7394
parent315dd72d7580b74232cfc8381a86d37999b95199
container: don't leak container reference

object_property_add_child() references the child, unref it after to
avoid ref leaks.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
qom/container.c