File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,8 @@ void ompi_mpi_instance_release (void)
222
222
opal_argv_free (ompi_mpi_instance_pmix_psets );
223
223
ompi_mpi_instance_pmix_psets = NULL ;
224
224
225
+ OBJ_DESTRUCT (& ompi_mpi_instance_null );
226
+
225
227
opal_finalize_cleanup_domain (& ompi_instance_basic_domain );
226
228
OBJ_DESTRUCT (& ompi_instance_basic_domain );
227
229
@@ -950,8 +952,6 @@ static int ompi_mpi_instance_finalize_common (void)
950
952
951
953
ompi_proc_finalize ();
952
954
953
- OBJ_DESTRUCT (& ompi_mpi_instance_null );
954
-
955
955
ompi_mpi_instance_release ();
956
956
957
957
if (0 == opal_initialized ) {
Original file line number Diff line number Diff line change 15
15
* reserved.
16
16
* Copyright (c) 2017 Research Organization for Information Science
17
17
* and Technology (RIST). All rights reserved.
18
+ * Copyright (c) 2024 Triad National Security, LLC. All rights
19
+ * reserved.
18
20
* $COPYRIGHT$
19
21
*
20
22
* Additional copyrights may follow
@@ -374,6 +376,8 @@ int mca_base_var_group_deregister(int group_index)
374
376
for (int i = 0 ; i < size ; ++ i ) {
375
377
OBJ_RELEASE (enums [i ]);
376
378
}
379
+ opal_value_array_set_size (& group -> group_enums , 0 );
380
+
377
381
378
382
size = opal_value_array_get_size (& group -> group_subgroups );
379
383
subgroups = OPAL_VALUE_ARRAY_GET_BASE (& group -> group_subgroups , int );
You can’t perform that action at this time.
0 commit comments