]> git.meshlink.io Git - catta/commitdiff
small fix
authorLennart Poettering <lennart@poettering.net>
Wed, 3 Aug 2005 22:57:16 +0000 (22:57 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Aug 2005 22:57:16 +0000 (22:57 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@220 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/server.c

index 18459b6114accd8df283cf0254bfd118f7ae6252..89f8cf9b454ae02928aad61c11589c4fcde4873a 100644 (file)
@@ -2073,6 +2073,11 @@ void avahi_entry_group_reset(AvahiEntryGroup *g) {
             e->dead = TRUE;
         }
     }
+
+    if (g->register_time_event) {
+        avahi_time_event_queue_remove(g->server->time_event_queue, g->register_time_event);
+        g->register_time_event = NULL;
+    }
     
     g->server->need_entry_cleanup = TRUE;
     g->n_probing = 0;