From 9611a1842dff48437cb3286d3d27c42cad40cf10 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 29 Mar 2017 21:00:52 +0200 Subject: irmd: Fix shutdown with active accept --- src/irmd/registry.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/irmd/registry.c b/src/irmd/registry.c index a4588963..c57230f7 100644 --- a/src/irmd/registry.c +++ b/src/irmd/registry.c @@ -594,6 +594,7 @@ void registry_destroy(struct list_head * registry) list_for_each_safe(p, h, registry) { struct reg_entry * e = list_entry(p, struct reg_entry, next); list_del(&e->next); + reg_entry_set_state(e, REG_NAME_NULL); reg_entry_destroy(e); } } -- cgit v1.2.3