Hi Tomasz,

On 17.07.2012 15:32, Tomasz Bursztyka wrote:
Basically, wispr provides a pointer (a wispr/portal context) to third parties
(agent, gweb...) which are answering asynchronously. However, if the technology
related to the service owning such context is disabled: this context is not
valid anymore, leading to a crash when third part answers after such action.

In order to avoid such issue, wispr implement an internal refcount system.

There is still this here:

-       connman_service_unref(wp_context->service);
+       if (wp_context->service != NULL)
+               connman_service_unref(wp_context->service);

Needed or not?

cheers,
daniel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to