• E
    qemu: avoid double free of qemu help output · ab6f1c98
    Eric Blake 提交于
    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 6e769eba.
    
    * src/qemu/qemu_capabilities.c (qemuCapsParseHelpStr): Avoid alloc
    on failure path, which in turn fixes bogus free.
    Reported by Cole Robinson.
    ab6f1c98
qemu_capabilities.c 46.7 KB