From 65e9841ecffe3a3cfd7f655859c6ffa98e4cf6c4 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Wed, 8 Dec 2010 16:52:19 +0100 Subject: [PATCH] technology: Fix technology refcount The blocked getter was bumping the technology refcount by calling technology_get() instead of technology_find(). --- src/technology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technology.c b/src/technology.c index a65136a..8a0ce52 100644 --- 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; -- 2.7.4