Skip to content

Commit 57c301f

Browse files
committed
remove an erroneous free statement.
1 parent e92c282 commit 57c301f

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
@@ -135,7 +135,6 @@ int mca_sharedfp_sm_file_open (struct ompi_communicator_t *comm,
135135
return OMPI_ERROR;
136136
}
137137

138-
free(sm_filename);
139138
sm_data->sm_filename = sm_filename;
140139

141140
/*TODO: is it necessary to write to the file first?*/

0 commit comments

Comments
 (0)