Signed-off-by: Jan Friesse <[email protected]>
---
include/corosync/hdb.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/corosync/hdb.h b/include/corosync/hdb.h
index 88742f9..7d2375e 100644
--- a/include/corosync/hdb.h
+++ b/include/corosync/hdb.h
@@ -161,6 +161,7 @@ static inline int hdb_handle_create (
instance = (void *)malloc (instance_size);
if (instance == 0) {
+ hdb_database_unlock (&handle_database->lock);
errno = ENOMEM;
return (-1);
}
--
1.7.1
_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss