summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iproxy.c b/iproxy.c
index d88b7ff..a58365a 100644
--- a/iproxy.c
+++ b/iproxy.c
@@ -290,6 +290,7 @@ void *acceptor_thread(void *arg)
290 fprintf(stderr, "Error connecting to device!\n"); 290 fprintf(stderr, "Error connecting to device!\n");
291 } 291 }
292 } 292 }
293 close(cdata->fd);
293 close(cdata->sfd); 294 close(cdata->sfd);
294 295
295 return NULL; 296 return NULL;