Skip to content

Commit

Permalink
PMIx_Query_info: removed duplicated PMIX_RELEASE
Browse files Browse the repository at this point in the history
there was a path through pmix_parse_localquery that ended up doing a PMIX_RELEASE on the caddy,
but soon thereafter it was re-relesed in PMIx_Query_info, causing a

PMIx_Query_info: Assertion `PMIX_OBJ_MAGIC_ID == _obj->obj_magic_id' failed.

for this case.

Related to open-mpi/ompi#12217
Related to open-mpi/ompi#10886

Signed-off-by: Howard Pritchard <[email protected]>
  • Loading branch information
hppritcha authored and rhc54 committed Jan 29, 2024
1 parent 6f18613 commit 4baeb9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/pmix_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ void pmix_parse_localquery(int sd, short args, void *cbdata)
}
cd->queries = NULL;
cd->nqueries = 0;
PMIX_RELEASE(cd);
}
return;
}
Expand Down

0 comments on commit 4baeb9f

Please sign in to comment.