projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3505b78
)
Upstream: gresolv: Remove the lookup for real
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Tue, 16 Oct 2012 14:19:25 +0000
(17:19 +0300)
committer
Jaehyun Kim
<jeik01.kim@samsung.com>
Sat, 6 Apr 2013 13:29:09 +0000
(22:29 +0900)
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.
gweb/gresolv.c
patch
|
blob
|
history
diff --git
a/gweb/gresolv.c
b/gweb/gresolv.c
index
3fd178b
..
f7d47ec
100644
(file)
--- a/
gweb/gresolv.c
+++ b/
gweb/gresolv.c
@@
-885,7
+885,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);