mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-11 22:21:31 +00:00
ab6f1c9814
If yajl was not compiled in, we end up freeing an incoming parameter, which leads to a bogus free later on. Regression introduced in commit 6e769eb. * src/qemu/qemu_capabilities.c (qemuCapsParseHelpStr): Avoid alloc on failure path, which in turn fixes bogus free. Reported by Cole Robinson.