diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-10-13 14:06:15 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-10-13 14:06:15 +0000 |
commit | 34f61c73f290b9f375bebb14bc48a4b15dfcc4cc (patch) | |
tree | 5192d254611ec919edf4596152ed5c041463acf2 /src/ipcpd/local/main.c | |
parent | 550e7892e47cf8daf351eb773ef3900b33ecabae (diff) | |
parent | 20921b8300d1699d8b0133b3f5fc360fdd99fc0d (diff) | |
download | ouroboros-34f61c73f290b9f375bebb14bc48a4b15dfcc4cc.tar.gz ouroboros-34f61c73f290b9f375bebb14bc48a4b15dfcc4cc.zip |
Merged in dstaesse/ouroboros/be-dealloc (pull request #263)
lib: Fix flow deallocation logic
Diffstat (limited to 'src/ipcpd/local/main.c')
-rw-r--r-- | src/ipcpd/local/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c index 1ccec0c0..7d23c08d 100644 --- a/src/ipcpd/local/main.c +++ b/src/ipcpd/local/main.c @@ -252,6 +252,8 @@ static int ipcp_local_flow_dealloc(int fd) pthread_rwlock_unlock(&local_data.lock); pthread_rwlock_unlock(&ipcpi.state_lock); + flow_dealloc(fd); + LOG_INFO("Flow with fd %d deallocated.", fd); return 0; |