• J
    qemu_command: Resolve resource leaks found by Valgrind · 890b6b35
    John Ferlan 提交于
    The qemuParseGlusterString() replaced dst->src without a VIR_FREE() of
    what was in there before.
    
    The qemuBuildCommandLine() did not properly free the boot_buf depending
    on various usages.
    
    The qemuParseCommandLineDisk() had numerous paths that didn't clean up
    the virDomainDiskDefPtr def properly. Adjust the logic to go through an
    error: label before cleanup in order to free the resource.
    890b6b35
qemu_command.c 321.6 KB