summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-08 19:29:57 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-08 19:29:57 +0200
commitb9c67818ce717f7dbb1ffad2c724e563a2072b53 (patch)
tree1892148077bfabcf8ab85eb1b1f8f0378907bf7e /src
parent297843ec04385c0e3c6a81382582b8e95c79cafb (diff)
downloadouroboros-b9c67818ce717f7dbb1ffad2c724e563a2072b53.tar.gz
ouroboros-b9c67818ce717f7dbb1ffad2c724e563a2072b53.zip
ipcpd-udp: fixed missing close
caused the shim to run out of file descriptors fast...
Diffstat (limited to 'src')
-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;
}