wispr: Clean up reference counting
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 13 Sep 2012 13:44:10 +0000 (16:44 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 28 Sep 2012 12:03:31 +0000 (15:03 +0300)
commit4730e79d49558ad46ba6cbcef9e52c023be7882f
tree71a6097fdf934aa5ce6d47f321d830988b3db74e
parentba90c52a6b2d88361f9d32b1666fc22b4939cacc
wispr: Clean up reference counting

connman_wispr_portal_context is initialized with refcount set to one.
Don't reference it an additional times while doing asynchronous calls
if the calls can be cancelled. Unreference the structure when done.
src/wispr.c