diff --git a/fiche.c b/fiche.c index 99d140d..f9fcd09 100644 --- a/fiche.c +++ b/fiche.c @@ -614,9 +614,9 @@ static void *handle_connection(void *args) { print_separator(); // Cleanup + close(c->socket); free(c); free(slug); - close(c->socket); pthread_exit(NULL); return NULL; }