From b9c67818ce717f7dbb1ffad2c724e563a2072b53 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 8 May 2016 19:29:57 +0200 Subject: ipcpd-udp: fixed missing close caused the shim to run out of file descriptors fast... --- src/ipcpd/shim-udp/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ipcpd') 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; } -- cgit v1.2.3