We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c008de commit 70c2148Copy full SHA for 70c2148
opal/mca/btl/sm/btl_sm.c
@@ -899,7 +899,9 @@ int mca_btl_sm_sendi( struct mca_btl_base_module_t* btl,
899
/* note that frag==NULL is equivalent to rc returning an error code */
900
MCA_BTL_SM_FRAG_ALLOC_EAGER(frag);
901
if( OPAL_UNLIKELY(NULL == frag) ) {
902
- *descriptor = NULL;
+ if (NULL != descriptor) {
903
+ *descriptor = NULL;
904
+ }
905
return OPAL_ERR_OUT_OF_RESOURCE;
906
}
907
0 commit comments