]> git.proxmox.com Git - mirror_qemu.git/commit
tests: check-qom-proplist: fix leak
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 9 Jun 2017 13:33:37 +0000 (17:33 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 31 Jul 2017 10:05:49 +0000 (13:05 +0300)
commit80792eb9257588d9a554605f3411cbc7ed51e9bc
tree627c1e383781b476c0b4c0413fa85f965d0fca63
parent0c26c080ee592ea47597d3ab8fd712d7d2c4ba0f
tests: check-qom-proplist: fix leak

user_creatable_add_opts() returns a reference (the other reference is
for the root parent/child link).

Leak introduced in commit a1af255f065cc.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/check-qom-proplist.c