summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-07 11:00:58 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-11 12:41:09 +0300
commit7b0eb7bcef48a5e5b13e60892948cab1d27138d3 (patch)
tree9dfeffb73fedd6031e8e7f441e713953dba360b8
parent217953cba7bb716e5cc8c95b6dd5c93d99385439 (diff)
downloadconnman-7b0eb7bcef48a5e5b13e60892948cab1d27138d3.tar.gz
connman-7b0eb7bcef48a5e5b13e60892948cab1d27138d3.tar.bz2
connman-7b0eb7bcef48a5e5b13e60892948cab1d27138d3.zip
proxy: Set lookup to NULL if the tokens did not match
-rw-r--r--src/proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proxy.c b/src/proxy.c
index 500d4e6c..b6775b67 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -145,6 +145,8 @@ void connman_proxy_lookup_cancel(unsigned int token)
if (lookup->token == token)
break;
+
+ lookup = NULL;
}
if (lookup != NULL) {