diff --git a/src/nodeinfo.c b/src/nodeinfo.c index 7e993a9ff4..e842474afd 100644 --- a/src/nodeinfo.c +++ b/src/nodeinfo.c @@ -605,6 +605,7 @@ linuxParseCPUmap(int *max_cpuid, const char *path) } *max_cpuid = max_id; + VIR_FREE(str); return map; error: