Skip to content

Commit f1b473e

Browse files
committed
osc/sm: plug a memory leak in ompi_osc_sm_free
Thanks Joseph Schuchart for the report. Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 8ef538a commit f1b473e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/osc/sm/osc_sm_component.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ ompi_osc_sm_free(struct ompi_win_t *win)
473473
free(module->bases[0]);
474474
free(module->bases);
475475
free(module->sizes);
476+
free(module->disp_units);
477+
free(module->outstanding_locks);
476478
}
477479

478480
free (module->posts);

0 commit comments

Comments
 (0)