File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2013-2014 Cisco Systems, Inc. All rights reserved.
2+ * Copyright (c) 2013-2015 Cisco Systems, Inc. All rights reserved.
33 * $COPYRIGHT$
44 *
55 * Additional copyrights may follow
@@ -25,7 +25,9 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module)
2525 if (NULL == module ) {
2626 /* Find the first module with an error callback */
2727 for (int i = 0 ; i < mca_btl_usnic_component .num_modules ; ++ i ) {
28- if (NULL != mca_btl_usnic_component .usnic_active_modules [i ]-> pml_error_callback ) {
28+ if (NULL != mca_btl_usnic_component .usnic_active_modules &&
29+ NULL != mca_btl_usnic_component .usnic_active_modules [i ] &&
30+ NULL != mca_btl_usnic_component .usnic_active_modules [i ]-> pml_error_callback ) {
2931 module = mca_btl_usnic_component .usnic_active_modules [i ];
3032 break ;
3133 }
You can’t perform that action at this time.
0 commit comments