• J
    qemu_capabilities: Resolve Coverity RESOURCE_LEAK · 2f7ced36
    John Ferlan 提交于
    Coverity determined that on error path that 'mach' wouldn't be free'd
    Since virCapabilitiesFreeGuestMachine() isn't globally available, we'll
    insert first and then if the VIR_STRDUP's fail they it will eventually
    cause the 'mach' to be freed in the error path
    2f7ced36
qemu_capabilities.c 110.5 KB