diff options
author | Nikias Bassen | 2009-02-25 18:08:46 +0100 |
---|---|---|
committer | Nikias Bassen | 2009-02-25 18:08:46 +0100 |
commit | 97e6c8b7bb89c7f08ad46050598c15a55ea3f436 (patch) | |
tree | 88ad858d064f8568a7a03a50f7ac9508e73c3611 /iproxy.c | |
parent | 471b064f182bf0770729546607b0aa920c46419b (diff) | |
download | usbmuxd-97e6c8b7bb89c7f08ad46050598c15a55ea3f436.tar.gz usbmuxd-97e6c8b7bb89c7f08ad46050598c15a55ea3f436.tar.bz2 |
fix: close socket properly
Diffstat (limited to 'iproxy.c')
-rw-r--r-- | iproxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -290,6 +290,7 @@ void *acceptor_thread(void *arg) fprintf(stderr, "Error connecting to device!\n"); } } + close(cdata->fd); close(cdata->sfd); return NULL; |