summaryrefslogtreecommitdiff
path: root/src/ipcpd/local/main.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-10-24 06:40:53 +0000
committerSander Vrijders <[email protected]>2016-10-24 06:40:53 +0000
commit1c06b9ff80a2bf7ee6042534fee6098f7e452b59 (patch)
tree304508f191114dd1ce3ce55bd9e8123638567b2f /src/ipcpd/local/main.c
parent94573411a43ed2d2232bb9cf86998273c56cd249 (diff)
parentb23e3024d12c28b01426cc37d5adf03f9c1bea88 (diff)
downloadouroboros-1c06b9ff80a2bf7ee6042534fee6098f7e452b59.tar.gz
ouroboros-1c06b9ff80a2bf7ee6042534fee6098f7e452b59.zip
Merged in dstaesse/ouroboros/be-fix-alloc (pull request #276)
lib: Stabilise flow allocation
Diffstat (limited to 'src/ipcpd/local/main.c')
-rw-r--r--src/ipcpd/local/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c
index f6fe4ec1..192607c1 100644
--- a/src/ipcpd/local/main.c
+++ b/src/ipcpd/local/main.c
@@ -98,6 +98,7 @@ static void * ipcp_local_sdu_loop(void * o)
if (ipcp_get_state() != IPCP_ENROLLED) {
pthread_rwlock_unlock(&ipcpi.state_lock);
+ fqueue_destroy(fq);
return (void *) 1; /* -ENOTENROLLED */
}