summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorWei-keng Liao <wkliao@users.noreply.github.com>2022-03-17 14:52:20 (GMT)
committerGitHub <noreply@github.com>2022-03-17 14:52:20 (GMT)
commit34442f37400b0090cf56179f3851b21d7950f91c (patch)
treecc72ca8c59c15c95c29a5d69ad599d6e7fa91e1b /examples
parentb9846d174972ecaa1e236d65d6579444e382b74b (diff)
downloadhdf5-34442f37400b0090cf56179f3851b21d7950f91c.zip
hdf5-34442f37400b0090cf56179f3851b21d7950f91c.tar.gz
hdf5-34442f37400b0090cf56179f3851b21d7950f91c.tar.bz2
free an MPI communicator (#1503)
Diffstat (limited to 'examples')
-rw-r--r--examples/ph5example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ph5example.c b/examples/ph5example.c
index 36fbfd5..f16b055 100644
--- a/examples/ph5example.c
+++ b/examples/ph5example.c
@@ -888,6 +888,7 @@ test_split_comm_access(char filenames[][PATH_MAX])
mrc = MPI_File_delete(filenames[color], info);
assert(mrc == MPI_SUCCESS);
}
+ MPI_Comm_free(&comm);
}
/*