Commit e5812549 authored by William Gropp's avatar William Gropp
Browse files

Added missing delete of the created keyval

parent cd5b43b2
......@@ -24,6 +24,7 @@ int main(int argc,char **argv)
MPI_Comm_create_keyval(MPI_NULL_COPY_FN, delete_fn, &key, &errs);
MPI_Comm_set_attr(scomm, key, a);
MPI_Comm_free(&scomm);
MPI_Comm_free_keyval( &key );
MTest_Finalize(errs);
MPI_Finalize();
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment