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 f533a28 + cdff34f commit 8f51e9bCopy full SHA for 8f51e9b
ompi/mca/osc/sm/osc_sm_component.c
@@ -5,7 +5,7 @@
5
* reserved.
6
* Copyright (c) 2014 Intel, Inc. All rights reserved.
7
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
8
- * Copyright (c) 2015-2017 Research Organization for Information Science
+ * Copyright (c) 2015-2018 Research Organization for Information Science
9
* and Technology (RIST). All rights reserved.
10
* $COPYRIGHT$
11
*
@@ -473,7 +473,9 @@ ompi_osc_sm_free(struct ompi_win_t *win)
473
} else {
474
free(module->node_states);
475
free(module->global_state);
476
- free(module->bases[0]);
+ if (NULL != module->bases) {
477
+ free(module->bases[0]);
478
+ }
479
}
480
free(module->disp_units);
481
free(module->outstanding_locks);
0 commit comments