From 40528c0ebf52589584219c17698c504f0e63059a Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Thu, 11 Sep 2014 15:44:04 +0400 Subject: [PATCH] [FIX] deadlock Change-Id: I09dad6d383ee2dd5a94b4bc24aad70b200386e5b Signed-off-by: Vitaliy Cherepanov --- daemon/target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/target.c b/daemon/target.c index 3dbeb66..cbdedc8 100644 --- a/daemon/target.c +++ b/daemon/target.c @@ -257,7 +257,7 @@ uint64_t target_get_total_alloc(pid_t pid) } } unlock: - target_array_lock(); + target_array_unlock(); return ret; } -- 2.7.4