summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/enroll.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-08-29 18:30:06 +0200
committerdimitri staessens <[email protected]>2017-08-29 18:30:06 +0200
commit56933a90aa353fc366d6cdd2bdd58ca532f9b89e (patch)
tree5621a4e9a36ec7fe5ee83373611c27cff450a5bc /src/ipcpd/normal/enroll.c
parent706de5704f4d61929bbbb87d8d667ba68fcffc7d (diff)
downloadouroboros-56933a90aa353fc366d6cdd2bdd58ca532f9b89e.tar.gz
ouroboros-56933a90aa353fc366d6cdd2bdd58ca532f9b89e.zip
ipcpd: Fix thread leaks in normal IPCP
Diffstat (limited to 'src/ipcpd/normal/enroll.c')
-rw-r--r--src/ipcpd/normal/enroll.c2
1 files changed, 0 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;
}