It obviously is a typo, but it dose cause coredump easily
Signed-off-by: Lidong Zhong <[email protected]>
---
exec/objdb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec/objdb.c b/exec/objdb.c
index 5d7c124..da1270d 100644
--- a/exec/objdb.c
+++ b/exec/objdb.c
@@ -1412,7 +1412,7 @@ static int object_priv_get (
int res;
struct object_instance *object_instance;
- objdb_unlock();
+ objdb_lock();
res = hdb_handle_get (&object_instance_database,
object_handle, (void *)&object_instance);
if (res != 0) {
--
1.8.1.4
_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss