Skip to content

Commit ff740b4

Browse files
committed
fcoll/vulcan: fix memory leak
we didn't correctly free the fh->f_aggr_list array in the vulcan file_write_all file. Thanks @andymwood for reporting the issue and @ggouaillardet for identifying the cause for the leak. Fixes Issue #12677 (at least partially) Signed-off-by: Edgar Gabriel <[email protected]> (cherry picked from commit 3fde6af)
1 parent d380ab6 commit ff740b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/fcoll/vulcan/fcoll_vulcan_file_write_all.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,10 @@ exit :
728728
}
729729
free(broken_iov_arrays);
730730
free(fh->f_procs_in_group);
731+
free(fh->f_aggr_list);
731732
fh->f_procs_in_group=NULL;
732733
fh->f_procs_per_group=0;
734+
fh->f_aggr_list=NULL;
733735
free(result_counts);
734736
free(reqs);
735737

0 commit comments

Comments
 (0)