We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1990950 commit f32784aCopy full SHA for f32784a
1 file changed
test/testcases/tst_free_comm.c
@@ -47,8 +47,8 @@ tst_fmt(char *fname, int cmode)
47
err = ncmpi_create(comm, fname, cmode, info, &ncid); EXP_ERR(exp_err)
48
if (err == NC_ENOTBUILT) goto fn_exit;
49
50
- MPI_Comm_free(&comm);
51
- MPI_Info_free(&info);
+ MPI_Comm_free(&comm); comm = MPI_COMM_NULL;
+ MPI_Info_free(&info); info = MPI_INFO_NULL;
52
53
err = ncmpi_close(ncid); CHECK_ERR
54
0 commit comments