Fix bug in r31764
Need to remove the items of the list to avoid an assert in debug builds. cmr=v1.8.2:ticket=trac:4628 This commit was SVN r31769. The following SVN revision numbers were found above: r31764 --> open-mpi/ompi@13fd6ae774 The following Trac tickets were found above: Ticket 4628 --> https://svn.open-mpi.org/trac/ompi/ticket/4628
Этот коммит содержится в:
родитель
4113cfa03a
Коммит
0ef6baffd3
@ -54,7 +54,7 @@ static void opal_free_list_destruct(opal_free_list_t* fl)
|
||||
opal_list_item_t *item;
|
||||
|
||||
if (fl->fl_elem_class) {
|
||||
OPAL_LIST_FOREACH(item, &fl->super, opal_list_item_t) {
|
||||
while (NULL != (item = opal_list_remove_first (&fl->super))) {
|
||||
/* destruct the item (we constructed it), the underlying memory will be
|
||||
* reclaimed when we free the slab below */
|
||||
OBJ_DESTRUCT(item);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user