diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-29 18:30:06 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-29 18:30:06 +0200 |
commit | 56933a90aa353fc366d6cdd2bdd58ca532f9b89e (patch) | |
tree | 5621a4e9a36ec7fe5ee83373611c27cff450a5bc /src | |
parent | 706de5704f4d61929bbbb87d8d667ba68fcffc7d (diff) | |
download | ouroboros-56933a90aa353fc366d6cdd2bdd58ca532f9b89e.tar.gz ouroboros-56933a90aa353fc366d6cdd2bdd58ca532f9b89e.zip |
ipcpd: Fix thread leaks in normal IPCP
Diffstat (limited to 'src')
-rw-r--r-- | src/ipcpd/normal/enroll.c | 2 | ||||
-rw-r--r-- | src/ipcpd/normal/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c index 7f93ed3a..fc541859 100644 --- a/src/ipcpd/normal/enroll.c +++ b/src/ipcpd/normal/enroll.c @@ -373,6 +373,4 @@ void enroll_stop(void) { if (enroll.state == ENROLL_RUNNING) pthread_cancel(enroll.listener); - - enroll.state = ENROLL_INIT; } diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c index 0a41f883..fa31b9be 100644 --- a/src/ipcpd/normal/main.c +++ b/src/ipcpd/normal/main.c @@ -399,6 +399,8 @@ int main(int argc, stop_components(); } + finalize_components(); + irm_unbind_api(getpid(), ipcpi.name); ipcp_fini(); |