Fix a memory leak in virCgroupGetPercpuStats
Coverity reports that my commit af1c98e4 introduced two memory leaks: the cpumap if ncpus == 0 in virCgroupGetPercpuStats and the params array in the test of the function.
Showing
想要评论请 注册 或 登录