summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/main.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-03-20 13:37:16 +0100
committerdimitri staessens <[email protected]>2017-03-20 13:37:16 +0100
commit6d6e1e2beec5bc003e490b8f96d861e6e8f7295d (patch)
treeb3ec49dd309cbbe3d2a3214055e833923c0ce0b0 /src/ipcpd/normal/main.c
parente26ddb08e8a5f37ca2caf9bd7a96c956816e96de (diff)
downloadouroboros-6d6e1e2beec5bc003e490b8f96d861e6e8f7295d.tar.gz
ouroboros-6d6e1e2beec5bc003e490b8f96d861e6e8f7295d.zip
ipcpd: Fix cleanup of connmgr
Fixed trying to double lock and cleanup order in main.
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r--src/ipcpd/normal/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 814a0c0b..398d6ee3 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -472,10 +472,10 @@ int main(int argc,
rib_fini();
- connmgr_fini();
-
enroll_fini();
+ connmgr_fini();
+
irm_unbind_api(getpid(), ipcpi.name);
ipcp_fini();