File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
ompi/mca/common/monitoring Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ static opal_hash_table_t *comm_data = NULL;
47
47
static inline void mca_common_monitoring_coll_check_name (mca_monitoring_coll_data_t * data )
48
48
{
49
49
if ( data -> comm_name && data -> p_comm && (data -> p_comm -> c_flags & OMPI_COMM_NAMEISSET )
50
- && data -> p_comm -> c_name && 0 < strlen (data -> p_comm -> c_name )
50
+ && 0 < strlen (data -> p_comm -> c_name )
51
51
&& 0 != strncmp (data -> p_comm -> c_name , data -> comm_name , OPAL_MAX_OBJECT_NAME - 1 ) )
52
52
{
53
53
free (data -> comm_name );
@@ -101,7 +101,9 @@ mca_monitoring_coll_data_t*mca_common_monitoring_coll_new( ompi_communicator_t*c
101
101
return NULL ;
102
102
}
103
103
104
- data -> p_comm = comm ;
104
+ data -> procs = NULL ;
105
+ data -> comm_name = NULL ;
106
+ data -> p_comm = comm ;
105
107
106
108
/* Allocate hashtable */
107
109
if ( NULL == comm_data ) {
You can’t perform that action at this time.
0 commit comments