From acae5f8633c4804d7e47bbe0aa496373f3d7daff Mon Sep 17 00:00:00 2001 From: Hu Tao Date: Tue, 24 Apr 2012 16:55:06 +0800 Subject: [PATCH] fix memleak in linuxParseCPUmap --- src/nodeinfo.c | 1 + 1 file changed, 1 insertion(+) 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: