Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 774988b

Browse files
committed
Merge pull request #1173 from rhc54/cmr20/mutex
Unlock the mutex prior to destructing it.
2 parents 402abf9 + fdbe0a4 commit 774988b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/mca/rte/orte/rte_orte_component.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22
/*
33
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved.
4-
* Copyright (c) 2014 Intel, Inc. All rights reserved.
4+
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
55
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
66
* reserved.
77
*
@@ -83,6 +83,7 @@ static int rte_orte_close(void)
8383
{
8484
opal_mutex_lock(&mca_rte_orte_component.lock);
8585
OPAL_LIST_DESTRUCT(&mca_rte_orte_component.modx_reqs);
86+
opal_mutex_unlock(&mca_rte_orte_component.lock);
8687
OBJ_DESTRUCT(&mca_rte_orte_component.lock);
8788

8889
return OMPI_SUCCESS;

0 commit comments

Comments
 (0)