fix memleak in linuxParseCPUmap

This commit is contained in:
Hu Tao 2012-04-24 16:55:06 +08:00 committed by Cole Robinson
parent c954ad8a3e
commit acae5f8633

View File

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