Skip to content

opal/datatype: reset ptypes in opal_datatype_clone() #6348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

ggouaillardet
Copy link
Contributor

Reset ptypes when cloning a datatype in order to prevent
a double free() in the opal_datatype_t destructor.

This fixes a bug introduced in 7c938f0

Fixes #6346

Signed-off-by: Gilles Gouaillardet [email protected]

Reset ptypes when cloning a datatype in order to prevent
a double free() in the opal_datatype_t destructor.

This fixes a bug introduced in open-mpi/ompi@7c938f0

Fixes open-mpi#6346

Signed-off-by: Gilles Gouaillardet <[email protected]>
@bosilca bosilca merged commit 89fa061 into open-mpi:master Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segv in type_dup_fn_* Fortran tests
2 participants