summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-11-16 11:46:30 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-11-16 11:46:30 +0100
commit444096b27c9f70574f6d023c70860d62e2bd395a (patch)
tree403d642b06826a9a167b7e7233018929d1d98b05 /src/irmd/main.c
parentdf172e82d2a5058bd0af8d49b6a0854f6a2ada6a (diff)
downloadouroboros-444096b27c9f70574f6d023c70860d62e2bd395a.tar.gz
ouroboros-444096b27c9f70574f6d023c70860d62e2bd395a.zip
irmd: Fix shutdown
The IRMd should not send messages to the IPCPs after its mainloop terminated. IPCPs should cleanup al state when they get the SIGTERM.
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 6e3f952f..e52ef4da 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1580,7 +1580,6 @@ static void irm_destroy(void)
list_for_each_safe(p, h, &irmd->irm_flows) {
struct irm_flow * f = list_entry(p, struct irm_flow, next);
list_del(&f->next);
- ipcp_flow_dealloc(f->n_1_api, f->port_id);
irm_flow_destroy(f);
}