From d54f5b2b33d23a0ef9068df8da959caf19af08e2 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 29 Aug 2017 17:54:45 +0200 Subject: ipcpd: Fix missing unlock in dht --- src/ipcpd/normal/dht.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ipcpd/normal/dht.c b/src/ipcpd/normal/dht.c index a1d21ad7..f24ed932 100644 --- a/src/ipcpd/normal/dht.c +++ b/src/ipcpd/normal/dht.c @@ -851,7 +851,8 @@ static void lookup_set_state(struct lookup * lu, static void cleanup_wait(void * o) { struct lookup * lu = (struct lookup *) o; - lookup_set_state(lu, LU_NULL); + lu->state = LU_NULL; + pthread_mutex_unlock(&lu->lock); lookup_destroy(lu); } -- cgit v1.2.3