Skip to content

Commit 6ce811e

Browse files
committed
sharedfp_sm_file_open: remove illegal free
accidentally left an invalid free after the rewriting the code to use asprintf. Fixes Coverty CID 1496849 Signed-off-by: Edgar Gabriel <[email protected]> (cherry picked from commit a260b88)
1 parent 3abf2cb commit 6ce811e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ int mca_sharedfp_sm_file_open (struct ompi_communicator_t *comm,
114114
if ( OMPI_SUCCESS != err ) {
115115
opal_output(0,"mca_sharedfp_sm_file_open: Error in bcast operation \n");
116116
free(filename_basename);
117-
free(sm_filename);
118117
free(sm_data);
119118
free(sh);
120119
return err;

0 commit comments

Comments
 (0)