1
1

mpool/hugepage: plug a memory leak

Refs. open-mpi/ompi#6242

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
Gilles Gouaillardet 2019-01-07 11:50:40 +09:00
родитель 3a4a1f932d
Коммит 78fffa25f2

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

@ -15,8 +15,8 @@
* Copyright (c) 2012-2016 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2016 Intel, Inc. All rights reserved.
* Copyright (c) 2016 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2016-2019 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
*
* $COPYRIGHT$
*
@ -274,6 +274,7 @@ static void mca_mpool_hugepage_find_hugepages (void) {
opal_output_verbose (MCA_BASE_VERBOSE_INFO, opal_mpool_base_framework.framework_output,
"found huge page with size = %lu, path = %s, mmap flags = 0x%x, with invalid "
"permissions, skipping", hp->page_size, hp->path, hp->mmap_flags);
OBJ_RELEASE(hp);
}
}