Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions opal/mca/allocator/basic/allocator_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ int mca_allocator_basic_compact(mca_allocator_base_module_t * mem)
int mca_allocator_basic_finalize(mca_allocator_base_module_t * base)
{
mca_allocator_basic_module_t* module = (mca_allocator_basic_module_t*)base;
// clear the list as we don't own these bits
while (NULL != opal_list_remove_first(&module->seg_list)) {
continue;
}
OBJ_DESTRUCT(&module->seg_list);
OBJ_DESTRUCT(&module->seg_lock);
OBJ_DESTRUCT(&module->seg_descriptors);
Expand Down