Nice catch, nice patch. I've commited it as
42c09a78d9ed2dc393e76308f4fce000535674e6.

Thanks,
  Honza

Lidong Zhong napsal(a):
> 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) {
> 

_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss

Reply via email to