1
1

Cleanup has to reset the stack position.

This commit was SVN r7913.
Этот коммит содержится в:
George Bosilca 2005-10-28 05:25:08 +00:00
родитель ad9de4ca3b
Коммит 5355765d81

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

@ -47,13 +47,14 @@ inline int ompi_convertor_cleanup( ompi_convertor_t* convertor )
if( convertor->stack_size > DT_STATIC_STACK_SIZE ) {
free( convertor->pStack );
convertor->pStack = convertor->static_stack;
convertor->pStack = convertor->static_stack;
convertor->stack_size = DT_STATIC_STACK_SIZE;
}
if( !(CONVERTOR_CLONE & convertor->flags) )
if( NULL != datatype ) OBJ_RELEASE( datatype );
convertor->pDesc = NULL;
convertor->flags = CONVERTOR_HOMOGENEOUS;
convertor->pDesc = NULL;
convertor->flags = CONVERTOR_HOMOGENEOUS;
convertor->stack_pos = 0;
return OMPI_SUCCESS;
}