summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irmd/registry.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}