Skip to content

Commit b3b1224

Browse files
committed
opal_progress_threads: fix double RELEASE
If a thread failed to start, the tracker would be released twice. This commit fixes CID 1316020. (cherry picked from commit open-mpi/ompi@92bc8af)
1 parent 72e7876 commit b3b1224

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

opal/runtime/opal_progress_threads.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ static int start_progress_engine(opal_progress_tracker_t *trk)
132132
int rc = opal_thread_start(&trk->engine);
133133
if (OPAL_SUCCESS != rc) {
134134
OPAL_ERROR_LOG(rc);
135-
OBJ_RELEASE(trk);
136135
}
137136

138137
return rc;

0 commit comments

Comments
 (0)