mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +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;
|
*max_cpuid = max_id;
|
||||||
|
|
||||||
|
VIR_FREE(str);
|
||||||
return map;
|
return map;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user