forked from osmocom/wireshark
Avoid an indefinite loop freeing the same data over and over again
in host_name_lookup_cleanup() when HAVE_C_ARES. svn path=/trunk/; revision=25989
This commit is contained in:
parent
6bea15f3cb
commit
a7e6165f15
|
@ -2336,6 +2336,7 @@ host_name_lookup_cleanup(void) {
|
|||
cur = g_list_first(c_ares_queue_head);
|
||||
while (cur) {
|
||||
g_free(cur->data);
|
||||
cur = g_list_next (cur);
|
||||
}
|
||||
|
||||
g_list_free(c_ares_queue_head);
|
||||
|
|
Loading…
Reference in New Issue