Hi,

Le 12/10/2011 16:52, Jukka Rissanen a écrit :
> ---
>  src/wispr.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/src/wispr.c b/src/wispr.c
> index 1f470f7..a0d491a 100644
> --- a/src/wispr.c
> +++ b/src/wispr.c
> @@ -721,6 +721,8 @@ int __connman_wispr_start(struct connman_service *service,
>               wp_context->service = service;
>               wp_context->type = type;
>  
> +             connman_service_ref(service);
> +
It will reference service 2 times, if wispr_start() is called for both
ipv4/ipv6, and unref it only once.

I have prepared a newer version of that fixes so don't commit that one.

Thanks anyway Jukka finding out about this ref counting issue.

Cheers,

Tomasz
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to