]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Resolve a couple of memory leaks
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Apr 2016 14:21:27 +0000 (10:21 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 20 Apr 2016 13:25:23 +0000 (09:25 -0400)
commit58650d53c7974bf289a5f13c7f437cf9dd67d5a7
treeae6a29973ba636add92cb6508e187586b3ef7c0f
parent06791c14f7583228ce19d90117873dd8068b8106
Resolve a couple of memory leaks

Commit id '4b75237f' seems to have triggered Coverity into finding
at least one memory leak in xen_xl.c for error path for cleanup where
the listenAddr would be leaked. Reviewing other callers, it seems that
qemu_parse_command.c would have the same issue, so just it too.

(cherry picked from commit 727a3c5860ef5e1fb8878da9d44c6e5e33a4f4ae)
src/qemu/qemu_parse_command.c
src/xenconfig/xen_xl.c