1
1

Always release the allocated memory.

This commit was SVN r20560.
Этот коммит содержится в:
George Bosilca 2009-02-14 21:49:06 +00:00
родитель 265ac096e8
Коммит a0afc9ee29

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

@ -76,6 +76,12 @@ static void ompi_free_list_destruct(ompi_free_list_t* fl)
fl->fl_mpool->mpool_free(fl->fl_mpool, fl_mem->ptr,
fl_mem->registration);
/* destruct the item (we constructed it), then free the memory chunk */
OBJ_DESTRUCT(item);
free(item);
}
} else {
while(NULL != (item = opal_list_remove_first(&(fl->fl_allocations)))) {
/* destruct the item (we constructed it), then free the memory chunk */
OBJ_DESTRUCT(item);
free(item);