summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-udp
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-05-08 19:32:08 +0200
committerdimitri staessens <[email protected]>2016-05-08 19:32:08 +0200
commitabc4f917ca6bfa1c79493a0940f5e88bc96bffb2 (patch)
tree1892148077bfabcf8ab85eb1b1f8f0378907bf7e /src/ipcpd/shim-udp
parentd1b6d04ae9b0c43a8cdd79bec8d6495c0d671787 (diff)
parentb9c67818ce717f7dbb1ffad2c724e563a2072b53 (diff)
downloadouroboros-abc4f917ca6bfa1c79493a0940f5e88bc96bffb2.tar.gz
ouroboros-abc4f917ca6bfa1c79493a0940f5e88bc96bffb2.zip
Merged in dstaesse/ouroboros/be-fast-path (pull request #68)
ipcpd-udp: fixed missing close
Diffstat (limited to 'src/ipcpd/shim-udp')
-rw-r--r--src/ipcpd/shim-udp/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index bb20b722..e213f019 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -774,6 +774,7 @@ int ipcp_udp_flow_dealloc(int port_id)
shm_ap_rbuff_close(_ap_instance->flows[fd].rb);
FD_CLR(fd, &shim_data(_ipcp)->flow_fd_s);
+ close(fd);
return 0;
}