mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
fix memleak in linuxParseCPUmap
This commit is contained in:
parent
8fe455fd36
commit
3ac303616f
@ -605,6 +605,7 @@ linuxParseCPUmap(int *max_cpuid, const char *path)
|
||||
}
|
||||
*max_cpuid = max_id;
|
||||
|
||||
VIR_FREE(str);
|
||||
return map;
|
||||
|
||||
error:
|
||||
|
Loading…
Reference in New Issue
Block a user