]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix resource leak in qemuDomainAddChardevTLSObjects error path
authorJohn Ferlan <jferlan@redhat.com>
Mon, 3 Apr 2017 16:53:33 +0000 (12:53 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 19:14:18 +0000 (15:14 -0400)
commit3056195621b20bf2ddbe7a3bf12d518601878df8
tree98cba72c515da0a9be9799c6b90a6cf8c611a8f0
parent8eeeb7651fbe7770b0c86eb7fb0be1ce37e2da41
qemu: Fix resource leak in qemuDomainAddChardevTLSObjects error path

On any failure, call virJSONValueFree for the *Props.

Signed-off-by: John Ferlan <jferlan@redhat.com>
(cherry picked from commit 2e8c60958ac32624296eee263bf34bb21a32360c)
src/qemu/qemu_migration.c