]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: do not leak uri in disconnect handler
authorJán Tomko <jtomko@redhat.com>
Thu, 3 Mar 2016 16:31:47 +0000 (17:31 +0100)
committerJán Tomko <jtomko@redhat.com>
Fri, 4 Mar 2016 07:08:16 +0000 (08:08 +0100)
commit34111a60f894b86f416434f0ec39c37999af4998
treecb5df6321f943f1d631f1dae586cd91633c512a9
parentbde6e002b52d110585a0d1618d25878ba177e927
tools: do not leak uri in disconnect handler

Commit 035947e introduced a call to virConnectGetURI
without a matching free() in virshCatchDisconnect.

Also fix vshAdmCatchDisconnect where it was copied by
commit 6dd7e42.

https://bugzilla.redhat.com/show_bug.cgi?id=1303891
tools/virsh.c
tools/virt-admin.c