diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-10-16 17:19:25 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-10-16 18:10:11 +0300 |
commit | d10e68006b3dc9d49df31738ffd896df30391431 (patch) | |
tree | cf7de729f5ceef2dccd0f3936b9baa442e60891c /gweb | |
parent | 9e9cf7a8800d634a5e04b0396f209cdefdb34e98 (diff) | |
download | connman-d10e68006b3dc9d49df31738ffd896df30391431.tar.gz connman-d10e68006b3dc9d49df31738ffd896df30391431.tar.bz2 connman-d10e68006b3dc9d49df31738ffd896df30391431.zip |
gresolv: Remove the lookup for real
The call to g_resolv_cancel_lookup() will do nothing
because we just removed the lookup from the queue.
The fix is to remove the lookup directly and not call
the cancel function.
Diffstat (limited to 'gweb')
-rw-r--r-- | gweb/gresolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gweb/gresolv.c b/gweb/gresolv.c index fd4cf107..8ff86190 100644 --- a/gweb/gresolv.c +++ b/gweb/gresolv.c @@ -875,7 +875,7 @@ void g_resolv_unref(GResolv *resolv) return; while ((lookup = g_queue_pop_head(resolv->lookup_queue))) - g_resolv_cancel_lookup(resolv, lookup->id); + destroy_lookup(lookup); while ((query = g_queue_pop_head(resolv->query_queue))) destroy_query(query); |