Build Update for libvirt/libvirt
-------------------------------------
Build: #1294
Status: Errored
Duration: 18 mins and 24 secs
Commit: 5276ec7 (master)
Author: Michal Privoznik
Message: testUpdateQEMUCaps: Don't leak host cpuData
When preparing qemuCaps for test cases the following is
happening:
qemuTestParseCapabilitiesArch() is called, which calls
virQEMUCapsLoadCache() which in turn calls
virQEMUCapsInitHostCPUModel() which sets qemuCaps->kvmCPU and
qemuCaps->tcgCPU.
But then the code tries to update the capabilities:
testCompareXMLToArgv() calls testUpdateQEMUCaps() which calls
virQEMUCapsInitHostCPUModel() again overwriting previously
allocated memory. The solution is to free host cpuData in
testUpdateQEMUCaps().
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
Reviewed-by: Jiri Denemark <jdenemar(a)redhat.com>
View the changeset:
https://github.com/libvirt/libvirt/compare/cc9c75f562f2...5276ec712a44
View the full build log and details:
https://travis-ci.org/libvirt/libvirt/builds/386180623?utm_source=email&a...
--
You can configure recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
This email was sent to libvirt-ci(a)redhat.com (mailto:libvirt-ci@redhat.com)
unsubscribe from this list
(
http://clicks.travis-ci.com/track/unsub.php?u=14313403&id=201f472882b...)