From b918d14e3875b35b5800eedb9ee65575771211de Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 17 Jan 2010 10:51:05 +0100 Subject: [PATCH] Fix group_entries list traversal --- src/mdns_avahi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdns_avahi.c b/src/mdns_avahi.c index 5647d636..96e0d882 100644 --- a/src/mdns_avahi.c +++ b/src/mdns_avahi.c @@ -492,7 +492,7 @@ mdns_deinit(void) for (w = all_w; w; w = w->next) event_del(&w->ev); - for (ge = group_entries; ge; ge = ge->next) + for (ge = group_entries; group_entries; ge = group_entries) { group_entries = ge->next;