projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2a4246
)
technology: Fix technology refcount
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 8 Dec 2010 15:52:19 +0000
(16:52 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 8 Dec 2010 15:52:19 +0000
(16:52 +0100)
The blocked getter was bumping the technology refcount by calling
technology_get() instead of technology_find().
src/technology.c
patch
|
blob
|
history
diff --git
a/src/technology.c
b/src/technology.c
index
a65136a
..
8a0ce52
100644
(file)
--- a/
src/technology.c
+++ b/
src/technology.c
@@
-742,7
+742,7
@@
connman_bool_t __connman_technology_get_blocked(enum connman_service_type type)
{
struct connman_technology *technology;
- technology = technology_
get
(type);
+ technology = technology_
find
(type);
if (technology == NULL)
return FALSE;