diff options
author | Sander Vrijders <[email protected]> | 2016-08-09 19:51:44 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-08-09 19:51:44 +0200 |
commit | 3eb6acfd135cdfb82d19a4f445776ea2f13fd4e1 (patch) | |
tree | 96fe9ca4332c43b620f64f3f7bb4550c52191a97 /src/ipcpd | |
parent | fa719e594be2a6d3132706c11166fd4ad4d57e01 (diff) | |
parent | 1c67b4cd199f9efed96468a2a2ee69fd755bcf7c (diff) | |
download | ouroboros-3eb6acfd135cdfb82d19a4f445776ea2f13fd4e1.tar.gz ouroboros-3eb6acfd135cdfb82d19a4f445776ea2f13fd4e1.zip |
Merged in dstaesse/ouroboros/be-bugfixing (pull request #197)
irmd: Close filedescriptor on exit
Diffstat (limited to 'src/ipcpd')
-rw-r--r-- | src/ipcpd/ipcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 839a5a9b..a9f2b77b 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -256,7 +256,7 @@ void * ipcp_main_loop(void * o) } pthread_cleanup_pop(true); - + pthread_cleanup_pop(false); buffer.len = ipcp_msg__get_packed_size(&ret_msg); if (buffer.len == 0) { @@ -280,7 +280,7 @@ void * ipcp_main_loop(void * o) } free(buffer.data); - pthread_cleanup_pop(true); + close(lsockfd); } |