diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-08 19:29:57 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-08 19:29:57 +0200 |
commit | b9c67818ce717f7dbb1ffad2c724e563a2072b53 (patch) | |
tree | 1892148077bfabcf8ab85eb1b1f8f0378907bf7e | |
parent | 297843ec04385c0e3c6a81382582b8e95c79cafb (diff) | |
download | ouroboros-b9c67818ce717f7dbb1ffad2c724e563a2072b53.tar.gz ouroboros-b9c67818ce717f7dbb1ffad2c724e563a2072b53.zip |
ipcpd-udp: fixed missing close
caused the shim to run out of file descriptors fast...
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 1 |
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; } |