File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
ompi/mpi/bindings/ompi_bindings Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -681,7 +681,7 @@ def final_code(self):
681681 code .append (f'if((MPI_SUCCESS == ret_value) && (MPI_REQUEST_NULL != { request_tmp_name } ) && (!REQUEST_COMPLETE({ request_tmp_name } )))' + '{' )
682682 code .append (f'ompi_coll_base_nbc_request_t* nb_request = (ompi_coll_base_nbc_request_t*){ request_tmp_name } ;' )
683683 code .append ('assert(nb_request->data.release_arrays[idx] == NULL);' )
684- code .append (f'nb_request->data.release_arrays[idx++] = (void *){ self .tmpname } ;' )
684+ code .append (f'if (NULL != { self . tmpname } ) nb_request->data.release_arrays[idx++] = (void *){ self .tmpname } ;' )
685685 code .append ('nb_request->data.release_arrays[idx] = NULL;' )
686686 code .append ('} else {' )
687687 code .append (f'if (NULL != { self .tmpname } ) free({ self .tmpname } );' )
You can’t perform that action at this time.
0 commit comments