summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-08-09 14:27:42 +0200
committerSander Vrijders <[email protected]>2016-08-09 14:27:42 +0200
commitf941ec364b6f97c3861a46bd2c3b629dc2eec860 (patch)
tree598369c7c542289b359d390448f4b2bdd6b2ff47 /src/irmd/irm_flow.c
parent1dde324905796df4d7e468d7f0de027bb8dcedae (diff)
parent88804db41aebf0075354e5ad6d7491d2fa08cf25 (diff)
downloadouroboros-f941ec364b6f97c3861a46bd2c3b629dc2eec860.tar.gz
ouroboros-f941ec364b6f97c3861a46bd2c3b629dc2eec860.zip
Merged in dstaesse/ouroboros/be-bugfixing (pull request #192)
irmd: Fix bad locking
Diffstat (limited to 'src/irmd/irm_flow.c')
-rw-r--r--src/irmd/irm_flow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/irmd/irm_flow.c b/src/irmd/irm_flow.c
index 6531e4f6..bf67f2ce 100644
--- a/src/irmd/irm_flow.c
+++ b/src/irmd/irm_flow.c
@@ -64,7 +64,6 @@ void irm_flow_destroy(struct irm_flow * f)
f->state = FLOW_NULL;
pthread_cond_signal(&f->state_cond);
- pthread_mutex_unlock(&f->state_lock);
pthread_cleanup_push((void (*)(void *)) pthread_mutex_unlock,
(void *) &f->state_lock);