1
1

There should be one gap between the constructors and the destructors, otherwise

the last constructor will be set to NULL overwriting the first destructor. This
prevent us from calling the destructors on some classes.

This commit was SVN r9969.
Этот коммит содержится в:
George Bosilca 2006-05-18 16:21:29 +00:00
родитель 7000cecf78
Коммит 372ae03535

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

@ -112,7 +112,7 @@ void opal_class_initialize(opal_class_t *cls)
perror("Out of memory");
exit(-1);
}
cls->cls_destruct_array = cls->cls_construct_array + cls->cls_depth;
cls->cls_destruct_array = cls->cls_construct_array + cls->cls_depth + 1;
cls_construct_array = cls->cls_construct_array;
cls_destruct_array = cls->cls_destruct_array;