As this object was created using the OBJ_NEW it should be destroyed using OBJ_RELEASE.
This commit was SVN r10869.
Этот коммит содержится в:
родитель
ac58e85c83
Коммит
0c4f18b397
@ -107,7 +107,7 @@ static int mca_mpool_sm_close( void )
|
|||||||
if( OMPI_SUCCESS == mca_common_sm_mmap_fini( mca_common_sm_mmap ) ) {
|
if( OMPI_SUCCESS == mca_common_sm_mmap_fini( mca_common_sm_mmap ) ) {
|
||||||
unlink( mca_common_sm_mmap->map_path );
|
unlink( mca_common_sm_mmap->map_path );
|
||||||
}
|
}
|
||||||
OBJ_DESTRUCT( mca_common_sm_mmap );
|
OBJ_RELEASE( mca_common_sm_mmap );
|
||||||
}
|
}
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user