From: Patrik Flykt Date: Fri, 7 Sep 2012 08:00:58 +0000 (+0300) Subject: proxy: Set lookup to NULL if the tokens did not match X-Git-Tag: 1.7~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b0eb7bcef48a5e5b13e60892948cab1d27138d3;p=platform%2Fupstream%2Fconnman.git proxy: Set lookup to NULL if the tokens did not match --- 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) {