mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-06 21:15:22 +00:00
fix memleak in linuxParseCPUmap
This commit is contained in:
parent
c954ad8a3e
commit
acae5f8633
@ -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