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.
2 parents 3913777 + 1783d94 commit a068b94Copy full SHA for a068b94
ompi/group/group_init.c
@@ -275,7 +275,11 @@ static void ompi_group_destruct(ompi_group_t *group)
275
the proc counts are not increased during the constructor,
276
either). */
277
278
- ompi_group_decrement_proc_count (group);
+#if OMPI_GROUP_SPARSE
279
+ if (OMPI_GROUP_IS_DENSE(group))
280
+ /* sparse groups do not increment proc reference counters */
281
+#endif
282
+ ompi_group_decrement_proc_count (group);
283
284
/* release thegrp_proc_pointers memory */
285
if (NULL != group->grp_proc_pointers) {
0 commit comments