diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-06-17 10:51:18 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-06-17 10:51:18 +0200 |
commit | a2fb329778938f769121855c8a11aa3bfb30b194 (patch) | |
tree | 0abf4e18a593de01fc00d38910736da8b418180d /src/ipcpd | |
parent | 1c62c4554cb74e48f676b9d19a49d26eadee72c7 (diff) | |
parent | 1d196cfc0d87b6fd41ba15a3a7d17669711ed202 (diff) | |
download | ouroboros-a2fb329778938f769121855c8a11aa3bfb30b194.tar.gz ouroboros-a2fb329778938f769121855c8a11aa3bfb30b194.zip |
Merged in dstaesse/ouroboros/be-cleanup-flows (pull request #128)
ipcpd: fixed missing unlock in shim UDP
Diffstat (limited to 'src/ipcpd')
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 186f0ebc..ccd8530b 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -1151,6 +1151,8 @@ static int ipcp_udp_name_reg(char * name) return -1; } } +#else + rw_lock_unlock(&_ipcp->state_lock); #endif LOG_DBG("Registered %s.", name); @@ -1606,7 +1608,9 @@ int main (int argc, char * argv[]) free(_ipcp->ops); free(_ipcp); - exit(0); + LOG_DBG("IPCP exited."); + + exit(EXIT_SUCCESS); } #endif /* MAKE_CHECK */ |