File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
* Copyright (c) 2011-2012 Los Alamos National Security, LLC.
3
3
* All rights reserved.
4
4
* Copyright (c) 2014 Intel, Inc. All rights reserved
5
+ * Copyright (c) 2017 Research Organization for Information Science
6
+ * and Technology (RIST). All rights reserved.
5
7
* $COPYRIGHT$
6
8
*
7
9
* Additional copyrights may follow
@@ -190,10 +192,9 @@ static int finalize(void)
190
192
opal_list_item_t * item ;
191
193
192
194
/* cleanup the proc state machine */
193
- while (NULL != (item = opal_list_remove_first (& orte_proc_states ))) {
194
- OBJ_RELEASE (item );
195
- }
196
- OBJ_DESTRUCT (& orte_proc_states );
195
+ OPAL_LIST_DESTRUCT (& orte_proc_states );
196
+ /* cleanup the job state machine */
197
+ OPAL_LIST_DESTRUCT (& orte_job_states );
197
198
198
199
return ORTE_SUCCESS ;
199
200
}
You can’t perform that action at this time.
0 commit comments