• J
    Use virBufferCheckError everywhere we report OOM error · 92a8e72f
    Ján Tomko 提交于
    Replace:
    if (virBufferError(&buf)) {
        virBufferFreeAndReset(&buf);
        virReportOOMError();
        ...
    }
    
    with:
    if (virBufferCheckError(&buf) < 0)
        ...
    
    This should not be a functional change (unless some callers
    misused the virBuffer APIs - a different error would be reported
    then)
    92a8e72f
esx_vi.c 162.7 KB