• J
    qemu_agent: Resolve Coverity RESOURCE_LEAK · 6f8a4f6d
    John Ferlan 提交于
    Coverity found that on error paths, the 'arg' value wasn't be cleaned
    up. Followed the example in qemuAgentSetVCPUs() where upon successful call
    to qemuAgentCommand() the 'cpus' is set to NULL; otherwise, when cleanup
    occurs the free the memory for 'arg'
    6f8a4f6d
qemu_agent.c 49.2 KB