b54f488 Fix a memory leak in virCgroupGetPercpuStats

Authored and Committed by Ján Tomko 9 years ago
    Fix a memory leak in virCgroupGetPercpuStats
    
    Coverity reports that my commit af1c98e introduced
    two memory leaks:
    the cpumap if ncpus == 0 in virCgroupGetPercpuStats
    and the params array in the test of the function.
    
        
file modified
+4 -2
file modified
+1 -0