Take out the destructor code I added to ompi_list - may be causing some problems in some pre-existing code, and we have more important issues to deal with for now!
This commit was SVN r2457.
Этот коммит содержится в:
родитель
b025e66d7e
Коммит
c27d1eeb80
@ -71,15 +71,15 @@ static void ompi_list_construct(ompi_list_t *list)
|
||||
*/
|
||||
static void ompi_list_destruct(ompi_list_t *list)
|
||||
{
|
||||
ompi_list_item_t *item;
|
||||
/* ompi_list_item_t *item; */
|
||||
|
||||
if (NULL != list) {
|
||||
while (NULL != (item = ompi_list_remove_first(list))) {
|
||||
OBJ_RELEASE(item);
|
||||
}
|
||||
/* if (NULL != list) { */
|
||||
/* while (NULL != (item = ompi_list_remove_first(list))) { */
|
||||
/* OBJ_RELEASE(item); */
|
||||
/* } */
|
||||
|
||||
ompi_list_construct(list);
|
||||
}
|
||||
/* } */
|
||||
}
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user