Fix CID 859: fix minor memory leak
This commit was SVN r19241.
Этот коммит содержится в:
родитель
93746cd594
Коммит
b97a185fb1
@ -339,6 +339,7 @@ static void load_cache(const char *sysfs_mount)
|
|||||||
num_cores[i] = count;
|
num_cores[i] = count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
free(cores_on_sockets);
|
||||||
|
|
||||||
/* Now go through and build the map in the other direction:
|
/* Now go through and build the map in the other direction:
|
||||||
(socket,core) => processor_id. This map simply points to
|
(socket,core) => processor_id. This map simply points to
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user