check for null registration
This commit was SVN r6493.
Этот коммит содержится в:
родитель
d454cb290c
Коммит
e163943eac
@ -123,7 +123,9 @@ do {
|
||||
if(NULL != (recvreq)->req_chunk) { \
|
||||
mca_mpool_base_reg_mpool_t* reg = (recvreq)->req_chunk->mpools; \
|
||||
while(NULL != reg->mpool) { \
|
||||
OBJ_RELEASE(reg->mpool_registration); \
|
||||
if(NULL != reg->mpool_registration) { \
|
||||
OBJ_RELEASE(reg->mpool_registration); \
|
||||
} \
|
||||
reg++; \
|
||||
} \
|
||||
OBJ_RELEASE((recvreq)->req_chunk); \
|
||||
|
@ -230,7 +230,9 @@ OBJ_CLASS_DECLARATION(mca_pml_ob1_send_request_t);
|
||||
if(NULL != (sendreq)->req_chunk) { \
|
||||
mca_mpool_base_reg_mpool_t* reg = (sendreq)->req_chunk->mpools; \
|
||||
while(NULL != reg->mpool) { \
|
||||
OBJ_RELEASE(reg->mpool_registration); \
|
||||
if(NULL != reg->mpool_registration) { \
|
||||
OBJ_RELEASE(reg->mpool_registration); \
|
||||
} \
|
||||
reg++; \
|
||||
} \
|
||||
OBJ_RELEASE((sendreq)->req_chunk); \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user