diff options
author | Alok Barsode <alok.barsode@linux.intel.com> | 2012-02-22 16:19:13 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-24 23:29:49 +0100 |
commit | b4605cae51a5cb3e4a402c57aad2cd798a8c70c5 (patch) | |
tree | 730c1961748a5ca4cd13dc0a620a9a70f0bd5d7a /AUTHORS | |
parent | 19e51ec8264ce0d32ffdee28f7194a55f85ee7f2 (diff) | |
download | connman-b4605cae51a5cb3e4a402c57aad2cd798a8c70c5.tar.gz connman-b4605cae51a5cb3e4a402c57aad2cd798a8c70c5.tar.bz2 connman-b4605cae51a5cb3e4a402c57aad2cd798a8c70c5.zip |
technology: Fix technology refcounting
__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.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions