Skip to content

helper: Avoid freeing Comm-held MPI_Comm more than once

Podhorszki, Norbert requested to merge github/fork/khuck/fixing_2001 into master

Created by: khuck

When various destructors are called, the MPI communicator helper will clean up by deleting the adios communicator. Well, this change prevents that from happening twice. When compiled with PGI and executed with TAU profiling, this double-free causes memory to be corrupted. This PR fixes issue #2001 (closed)

Merge request reports