From 829a48e50e60b815c216a7e37d9c80186bf2f9c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 15 Mar 2011 11:22:37 +0100 Subject: [PATCH] Feature #407: Fix deadlock when adding a Host to a non existing Cluster --- src/rm/RequestManagerClusterAdd.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rm/RequestManagerClusterAdd.cc b/src/rm/RequestManagerClusterAdd.cc index f36c382bc5..6b8b83bb11 100644 --- a/src/rm/RequestManagerClusterAdd.cc +++ b/src/rm/RequestManagerClusterAdd.cc @@ -126,6 +126,7 @@ error_host_get: goto error_common; error_cluster_get: + host->unlock(); oss.str(get_error(method_name, "CLUSTER", clid)); goto error_common;