Hi Alok, On Wed, Feb 22, 2012 at 04:19:13PM +0200, Alok Barsode wrote: > From: Alok Barsode <[email protected]> > > __sync_fetch_and_sub() gives the value that had previously been in memory > which gives the older refount. > > technology_find() does not refcount the technology. > __connman_technology_update_rfkill() was using technology_get() which > was refcounting the technology. Every technology_get() must be matched > with a corresponding technology_put() for accurate refcounting. Technically 2 patches would have been better, but I applied this one anyway.
Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
