1
1

mpool/hugepage mntent intro fallout

On Cray, PR #1846 introduced a double free
situation which led to all kinds of random memory
corruption problems.

This commit fixes this problem.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Этот коммит содержится в:
Howard Pritchard 2016-08-02 05:52:31 -05:00
родитель 917d96ba50
Коммит 08266a1a56

Просмотреть файл

@ -230,7 +230,6 @@ static void mca_mpool_hugepage_find_hugepages (void) {
do {
if (0 == strncmp (tok, "pagesize", 8)) {
free(opts);
break;
}
tok = strtok_r (NULL, ",", &ctx);