fix memleak in linuxParseCPUmap

This commit is contained in:
Hu Tao 2012-04-24 16:55:06 +08:00 committed by Peter Krempa
parent 8fe455fd36
commit 3ac303616f

View File

@ -605,6 +605,7 @@ linuxParseCPUmap(int *max_cpuid, const char *path)
}
*max_cpuid = max_id;
VIR_FREE(str);
return map;
error: